[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:
Nico Weber 2021-11-05 12:43:06 -04:00
parent 7f62759697
commit c68183b81e
1 changed files with 1 additions and 4 deletions

View File

@ -262,10 +262,7 @@ config("compiler_defaults") {
}
}
if (use_relative_paths_in_debug_info) {
cflags += [
"-fdebug-compilation-dir",
".",
]
cflags += [ "-fdebug-compilation-dir=." ]
}
}
if (sysroot != "") {