diff options
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', + ], + }], ], }, ], |