summaryrefslogtreecommitdiffstats
path: root/third_party/zlib/zlib.gyp
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/zlib/zlib.gyp')
-rw-r--r--third_party/zlib/zlib.gyp11
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',
+ ],
+ }],
],
},
],