summaryrefslogtreecommitdiffstats
path: root/third_party/zlib
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/zlib')
-rw-r--r--third_party/zlib/zlib.gyp17
1 files changed, 6 insertions, 11 deletions
diff --git a/third_party/zlib/zlib.gyp b/third_party/zlib/zlib.gyp
index 279a6e8..aef41ac 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',
- ],
- }],
],
},
],