summaryrefslogtreecommitdiffstats
path: root/build/config
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-21 20:07:00 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-21 20:07:00 +0000
commit373b130185e7e6db840be8b2e0451ee54fed60b4 (patch)
treecd1aa546e41c7eb11c15be0534606b2bba551754 /build/config
parent405434d1486b452c62860125cb4852ec99445850 (diff)
downloadchromium_src-373b130185e7e6db840be8b2e0451ee54fed60b4.zip
chromium_src-373b130185e7e6db840be8b2e0451ee54fed60b4.tar.gz
chromium_src-373b130185e7e6db840be8b2e0451ee54fed60b4.tar.bz2
Suppress psabi warnings in GN build.
These are disabled currently in the Android ARM GYP build. This patch disables it for all ARM builds since the warning appears when cross-compiling to ARM on Linux without Android (this isn't something people normally compile, so probably nobody noticed). R=thakis@chromium.org Review URL: https://codereview.chromium.org/299663014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@271951 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/config')
-rw-r--r--build/config/compiler/BUILD.gn6
1 files changed, 6 insertions, 0 deletions
diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn
index d877096..eb33be9 100644
--- a/build/config/compiler/BUILD.gn
+++ b/build/config/compiler/BUILD.gn
@@ -603,6 +603,12 @@ config("default_warnings") {
]
}
+ # Suppress warnings about ABI changes on ARM (Clang doesn't give this
+ # warning).
+ 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