osx: Don't warn about unkown warning option
authorCheng Zhao <zcbenz@gmail.com>
Thu, 10 Sep 2015 03:15:35 +0000 (11:15 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Thu, 10 Sep 2015 03:15:35 +0000 (11:15 +0800)
We can not make every compiler happy.

common.gypi

index a95e056..7c41c36 100644 (file)
@@ -75,6 +75,7 @@
         'xcode_settings': {
           'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO',
           'WARNING_CFLAGS': [
+            '-Wno-unknown-warning-option',
             '-Wno-parentheses-equality',
             '-Wno-unused-function',
             '-Wno-sometimes-uninitialized',