summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-25 23:59:18 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-25 23:59:18 +0000
commitd16bd641e24f51a9283bb0a7d3c003b284b31773 (patch)
tree6a856eb0bca97f517c2dc6e73cff62353ae4bb3a /build
parent08406f8ee9f1a9b420f3080840632b444e62fd35 (diff)
downloadchromium_src-d16bd641e24f51a9283bb0a7d3c003b284b31773.zip
chromium_src-d16bd641e24f51a9283bb0a7d3c003b284b31773.tar.gz
chromium_src-d16bd641e24f51a9283bb0a7d3c003b284b31773.tar.bz2
linux: remove -Wsign-compare for non-chromium code
We set this flag at a higher level, but we want to remove it for third_party code. BUG=90453 Review URL: http://codereview.chromium.org/7464045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93999 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rw-r--r--build/common.gypi6
1 files changed, 6 insertions, 0 deletions
diff --git a/build/common.gypi b/build/common.gypi
index 54654b0..f6f97dc4 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -880,6 +880,11 @@
# This is off by default in gcc but on in Ubuntu's gcc(!).
'-Wno-format',
],
+ 'cflags_cc!': [
+ # TODO(fischman): remove this.
+ # http://code.google.com/p/chromium/issues/detail?id=90453
+ '-Wsign-compare',
+ ]
}],
[ 'OS=="win"', {
'defines': [
@@ -1226,6 +1231,7 @@
# GCC turns on -Wsign-compare for C++ under -Wall, but clang doesn't,
# so we specify it explicitly.
# TODO(fischman): remove this if http://llvm.org/PR10448 obsoletes it.
+ # http://code.google.com/p/chromium/issues/detail?id=90453
'-Wsign-compare',
],
'ldflags': [