summaryrefslogtreecommitdiffstats
path: root/build/common.gypi
diff options
context:
space:
mode:
Diffstat (limited to 'build/common.gypi')
-rw-r--r--build/common.gypi7
1 files changed, 7 insertions, 0 deletions
diff --git a/build/common.gypi b/build/common.gypi
index 398d0fd..77f63d5 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -1550,6 +1550,13 @@
'xcode_settings': {
'WARNING_CFLAGS!': ['-Wall', '-Wextra'],
},
+ 'conditions': [
+ ['buildtype=="Official"', {
+ 'xcode_settings': {
+ 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', # -Werror
+ },
+ }],
+ ],
}],
],
}, {