Index: build/config/BUILDCONFIG.gn |
diff --git a/build/config/BUILDCONFIG.gn b/build/config/BUILDCONFIG.gn |
index c91db167b34dcc8adcd98dab2e09835599b89727..6bc28eccf710cf6e6b2f40609d1a79b7ef67837b 100644 |
--- a/build/config/BUILDCONFIG.gn |
+++ b/build/config/BUILDCONFIG.gn |
@@ -415,7 +415,7 @@ if (is_linux) { |
_native_compiler_configs += [ "//build/config/android:sdk" ] |
} |
-if (is_clang) { |
+if (is_clang && !is_nacl) { |
_native_compiler_configs += [ |
"//build/config/clang:find_bad_constructs", |
"//build/config/clang:extra_warnings", |