Skip to content

Commit e8e078c

Browse files
committed
[gn build] use -Xclang form for fdebug-comp-dir for now
The driver version of the flag seems to confuse goma.
1 parent 04377a8 commit e8e078c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

llvm/utils/gn/build/BUILD.gn

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,9 @@ config("compiler_defaults") {
196196
}
197197
if (use_relative_paths_in_debug_info) {
198198
cflags += [
199+
"-Xclang",
199200
"-fdebug-compilation-dir",
201+
"-Xclang",
200202
".",
201203
]
202204
}

0 commit comments

Comments
 (0)