Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1066)

Unified Diff: third_party/yasm/BUILD.gn

Issue 1233913002: Refactor incompatible pointer type to a config (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added mipsel clause back Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/usrsctp/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « third_party/usrsctp/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698