Index: build/config/compiler/BUILD.gn |
diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn |
index 2554042ef4156170fea2480ecf60922a12b7742e..4b624cfe3d107f35edc763d7bb22e54819e70f3b 100644 |
--- a/build/config/compiler/BUILD.gn |
+++ b/build/config/compiler/BUILD.gn |
@@ -1005,13 +1005,6 @@ config("default_warnings") { |
# TODO(thakis): Enable this, crbug.com/507717 |
"-Wno-shift-negative-value", |
] |
- |
- if (llvm_force_head_revision) { |
- cflags += [ |
- # TODO(thakis): https://crbug.com/617318 |
- "-Wno-nonportable-include-path", |
- ] |
- } |
} |
if (!is_nacl && !use_xcode_clang) { |
# Flags NaCl (Clang 3.7) and Xcode 7.3 (Clang clang-703.0.31) do not |
@@ -1019,6 +1012,9 @@ config("default_warnings") { |
cflags += [ |
# TODO(thakis): https://crbug.com/604888 |
"-Wno-undefined-var-template", |
+ |
+ # TODO(thakis): https://crbug.com/617318 |
+ "-Wno-nonportable-include-path", |
] |
} |
} |