Index: gyp/zlib.gyp |
diff --git a/gyp/zlib.gyp b/gyp/zlib.gyp |
index 59ca61c62e029a3a0b87fdbedc62616c43de0b54..43cf6abfd23c5776994a03852249a6aabe18e77f 100644 |
--- a/gyp/zlib.gyp |
+++ b/gyp/zlib.gyp |
@@ -19,7 +19,8 @@ |
}, |
}, { |
'type': 'static_library', |
- 'cflags': [ '-w' ], |
+ 'cflags': [ '-Wno-unused-value' ], |
+ 'xcode_settings': { 'WARNING_CFLAGS': [ '-Wno-unused-value', ], }, |
'sources': [ |
'../third_party/externals/zlib/adler32.c', |
'../third_party/externals/zlib/compress.c', |