Index: gyp/codec.gyp |
diff --git a/gyp/codec.gyp b/gyp/codec.gyp |
index d7272e2a7a9b80f340aa209e1b865151d9fbb09a..d1e239b03506859c2c52bfe0db723dceeaebe4db 100644 |
--- a/gyp/codec.gyp |
+++ b/gyp/codec.gyp |
@@ -89,6 +89,9 @@ |
'cflags':[ |
'-fexceptions', |
], |
+ 'cflags!':[ |
+ '-fno-exceptions', |
+ ], |
'include_dirs': [ |
'../include/codec', |
'../include/private', |
@@ -119,7 +122,9 @@ |
['skia_os == "ios" or skia_os == "mac"', { |
'xcode_settings': { |
'OTHER_CFLAGS': ['-fexceptions'], |
+ 'OTHER_CFLAGS!': ['-fno-exceptions'], |
'OTHER_CPLUSPLUSFLAGS': ['-fexceptions'], |
+ 'OTHER_CPLUSPLUSFLAGS!': ['-fno-exceptions'], |
}, |
}], |
], |