Index: third_party/zlib/zlib.gyp |
diff --git a/third_party/zlib/zlib.gyp b/third_party/zlib/zlib.gyp |
index 62d7ba01a8fafe7418a49e56be67968a0525a810..7e161da45b0361597bce23c3cd2ab137ee68321f 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', |
+ ], |
+ }], |
], |
}, |
], |