Skip to content

Commit 8805990

Browse files
committed
use xcode flag for c++ exceptions on MacOS
1 parent cc304be commit 8805990

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

binding.gyp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@
7474
],
7575
'xcode_settings': {
7676
'MACOSX_DEPLOYMENT_TARGET':'10.9',
77+
'GCC_ENABLE_CPP_EXCEPTIONS': '<!(find <(OZW_INC) -name OZWException.h | grep -q "." && echo -n YES || echo -n NO)',
7778
'OTHER_CFLAGS': [
7879
'-Wno-ignored-qualifiers -Wno-write-strings -Wno-unknown-pragmas'
7980
]

0 commit comments

Comments
 (0)