Index: build/config/compiler/BUILD.gn |
diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn |
index ef3fc3400b48a018e690048adf85c7da43ffc485..732f71aca18612ba8207512b5690e5004d8ab64d 100644 |
--- a/build/config/compiler/BUILD.gn |
+++ b/build/config/compiler/BUILD.gn |
@@ -940,6 +940,10 @@ config("no_chromium_code") { |
"_CRT_NONSTDC_NO_WARNINGS", |
"_CRT_NONSTDC_NO_DEPRECATE", |
] |
+ } else if (is_clang && !is_nacl) { |
+ # TODO(thakis): Remove !is_nacl once |
+ # https://codereview.webrtc.org/1552863002/ made its way into chromium. |
+ cflags += [ "-Wall" ] |
} |
if (is_linux) { |