Index: third_party/zlib/zlib.gyp |
diff --git a/third_party/zlib/zlib.gyp b/third_party/zlib/zlib.gyp |
index 279a6e88c73b9befc7bfd9576b3805fb46039e03..aef41ac2bd969dedff9e8f44ec821e8dddc357fb 100644 |
--- a/third_party/zlib/zlib.gyp |
+++ b/third_party/zlib/zlib.gyp |
@@ -77,6 +77,12 @@ |
'.', |
], |
}, |
+ 'variables': { |
+ 'clang_warning_flags': [ |
+ # zlib uses `if ((a == b))` for some reason. |
+ '-Wno-parentheses-equality', |
+ ], |
+ }, |
'conditions': [ |
['OS!="win"', { |
'sources!': [ |
@@ -94,17 +100,6 @@ |
'USE_FILE32API' |
], |
}], |
- ['clang==1', { |
- 'xcode_settings': { |
- 'WARNING_CFLAGS': [ |
- # zlib uses `if ((a == b))` for some reason. |
- '-Wno-parentheses-equality', |
- ], |
- }, |
- 'cflags': [ |
- '-Wno-parentheses-equality', |
- ], |
- }], |
], |
}, |
], |