Explicitly enable RTTI
When this project is compiled by node-gyp, its settings are merged with node's defaults, which include `no-rtti`.
This commit is contained in:
parent
7dfaba2954
commit
9b09c1c615
1 changed files with 1 additions and 0 deletions
|
|
@ -11,6 +11,7 @@
|
|||
'sources': [
|
||||
'<!@(find include src -name "*.h" -or -name "*.cc" -or -name "*.c")',
|
||||
],
|
||||
'cflags_cc!': [ '-fno-rtti' ],
|
||||
'xcode_settings': {
|
||||
'GCC_ENABLE_CPP_RTTI': 'YES',
|
||||
'GCC_ENABLE_CPP_EXCEPTIONS': 'NO',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue