Index: third_party/yasm/BUILD.gn |
diff --git a/third_party/yasm/BUILD.gn b/third_party/yasm/BUILD.gn |
index f9117670026ddf443d12bd43021c3e25e08b2fba..73bc676cbe8655f5443fb8566f39ded6900632f6 100644 |
--- a/third_party/yasm/BUILD.gn |
+++ b/third_party/yasm/BUILD.gn |
@@ -250,6 +250,7 @@ if (current_toolchain == host_toolchain) { |
configs += [ |
":yasm_config", |
"//build/config/compiler:no_chromium_code", |
+ "//build/config/compiler:no_incompatible_pointer_warnings", |
] |
# Yasm generates a bunch of .c files which its source file #include. |
@@ -263,9 +264,6 @@ if (current_toolchain == host_toolchain) { |
"-ansi", |
"-pedantic", |
] |
- if (is_clang) { |
- cflags += [ "-Wno-incompatible-pointer-types" ] |
- } |
} |
# TODO(ajwong): This should take most of the generated output as |