Index: gyp/dng_sdk.gyp |
diff --git a/gyp/dng_sdk.gyp b/gyp/dng_sdk.gyp |
index 1daebe1439576cce91db7a79d2a373d4c358003d..c239724b17a548f8975f54148bd8a1b82002e05a 100644 |
--- a/gyp/dng_sdk.gyp |
+++ b/gyp/dng_sdk.gyp |
@@ -20,12 +20,16 @@ |
'target_name': 'dng_sdk', |
'type': 'static_library', |
'cflags_cc': [ '-fexceptions' ], |
+ 'cflags_cc!': [ '-fno-exceptions' ], |
'cflags': [ |
'-fexceptions', |
'-w', |
# FIXME: only disable ::posix_memalign() when needed. |
'-DNO_POSIX_MEMALIGN' |
], |
+ 'cflags!': [ |
+ '-fno-exceptions', |
+ ], |
'msvs_settings': { |
'VCCLCompilerTool': { |
'WarningLevel': '0', |
@@ -230,6 +234,9 @@ |
'-fexceptions', |
'-frtti', |
], |
+ 'cflags!': [ |
+ '-fno-exceptions', |
+ ], |
'conditions': [ |
['skia_os == "ios" or skia_os == "mac"', { |
'xcode_settings': { |
@@ -253,6 +260,12 @@ |
'-fexceptions', |
'-frtti', |
], |
+ 'OTHER_CFLAGS!': [ |
+ '-fno-exceptions', |
+ ], |
+ 'OTHER_CPLUSPLUSFLAGS!': [ |
+ '-fno-exceptions', |
+ ], |
}, |
}], |
], |