Skip to content

Commit d88ed16

Browse files
committed
Fix macos build
1 parent 9c0e4cb commit d88ed16

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/binding.gyp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,15 @@
4040
'xcode_settings': {
4141
'DYLIB_INSTALL_NAME_BASE': '@rpath',
4242
'GCC_ENABLE_CPP_RTTI': 'YES',
43+
'GCC_ENABLE_CPP_EXCEPTIONS': 'YES',
4344
'OTHER_LDFLAGS': [
4445
'-framework AudioUnit',
4546
'-framework CoreAudio',
4647
'-framework AudioToolbox',
4748
],
49+
'OTHER_CPLUSPLUSFLAGS!': ['-fno-rtti', '-fno-exceptions']
50+
'OTHER_CPLUSPLUSFLAGS': ['-w', '-frtti', '-fexceptions']
4851
},
49-
'OTHER_CFLAGS!': ['-fno-exceptions'],
5052
}],
5153
['OS=="win"', {
5254
'libraries': [

0 commit comments

Comments
 (0)