Index: build/config/compiler/BUILD.gn |
diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn |
index 2d9564f3e1d1d47aa74c2a8fd8fa57da05c356e2..e213e17431713faf604710c91fbec19f4b370016 100644 |
--- a/build/config/compiler/BUILD.gn |
+++ b/build/config/compiler/BUILD.gn |
@@ -603,6 +603,11 @@ config("default_warnings") { |
] |
} |
+ # Suppress warnings about ABI changes on ARM (Clang doesn't support this). |
Nico
2014/05/21 19:43:59
"support" is a strange word for working around sil
brettw
2014/05/21 20:07:32
I clarified this.
|
+ if (cpu_arch == "arm" && !is_clang) { |
+ cflags += [ "-Wno-psabi" ] |
+ } |
+ |
if (is_android) { |
# Disable any additional warnings enabled by the Android build system but |
# which chromium does not build cleanly with (when treating warning as |