Index: build/config/compiler/BUILD.gn |
diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn |
index ed021905b54d2d9fdd93c3587f88c91f94512131..229e394adb48a2aa86bdf768660390045763b1d9 100644 |
--- a/build/config/compiler/BUILD.gn |
+++ b/build/config/compiler/BUILD.gn |
@@ -355,7 +355,7 @@ config("compiler") { |
# clang-cl (used if is_win) doesn't expose this flag. |
# Currently disabled for nacl since its toolchain lacks this flag (too old). |
# TODO(zforman): Once nacl's toolchain is updated, remove check. |
- if (is_clang && !is_win && !is_nacl) { |
+ if (is_clang && is_linux) { |
absolute_path = rebase_path("//.") |
cflags += [ "-fdebug-prefix-map=$absolute_path=." ] |
} |