diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-18 00:02:38 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-18 00:02:38 +0000 |
commit | 87d45969fc3e5f2340126ddeeaa79e1050764f19 (patch) | |
tree | 9fc2e50c16da056995cad0f785e5984000a35c25 /third_party/zlib | |
parent | 0f32ec93edba7542a5115ebc96323889800c95da (diff) | |
download | chromium_src-87d45969fc3e5f2340126ddeeaa79e1050764f19.zip chromium_src-87d45969fc3e5f2340126ddeeaa79e1050764f19.tar.gz chromium_src-87d45969fc3e5f2340126ddeeaa79e1050764f19.tar.bz2 |
Disable harmless warnings for 3rdparty code: zlib.
BUG=102390
Review URL: https://chromiumcodereview.appspot.com/9240019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117991 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/zlib')
-rw-r--r-- | third_party/zlib/zlib.gyp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/third_party/zlib/zlib.gyp b/third_party/zlib/zlib.gyp index 62d7ba0..7e161da 100644 --- a/third_party/zlib/zlib.gyp +++ b/third_party/zlib/zlib.gyp @@ -79,6 +79,17 @@ 'USE_FILE32API' ], }], + ['clang==1', { + 'xcode_settings': { + 'WARNING_CFLAGS': [ + # zlib uses `if ((a == b))` for some reason. + '-Wno-parentheses-equality', + ], + }, + 'cflags': [ + '-Wno-parentheses-equality', + ], + }], ], }, ], |