[gn build] Use `=` for of -fdebug-compilation-dir
-f flags usually use the `=` form. -fdebug-compilation-dir= has been
around for a few months now (since 0c2bb6b446, both LLVM 12.0
and 13.0 have it), so using it shouldn't be a big problem -- especially
since use_relative_paths_in_debug_info is opt-in anyways.
This commit is contained in:
parent
7f62759697
commit
c68183b81e
|
|
@ -262,10 +262,7 @@ config("compiler_defaults") {
|
|||
}
|
||||
}
|
||||
if (use_relative_paths_in_debug_info) {
|
||||
cflags += [
|
||||
"-fdebug-compilation-dir",
|
||||
".",
|
||||
]
|
||||
cflags += [ "-fdebug-compilation-dir=." ]
|
||||
}
|
||||
}
|
||||
if (sysroot != "") {
|
||||
|
|
|
|||
Loading…
Reference in New Issue