diff --git a/builds/gyp/project.gyp b/builds/gyp/project.gyp index 37130338..58c0a105 100644 --- a/builds/gyp/project.gyp +++ b/builds/gyp/project.gyp @@ -37,12 +37,18 @@ [ 'OS=="mac"', { 'defines': [ 'ZMQ_HAVE_OSX' - ] + ], + 'xcode_settings': { + 'GCC_ENABLE_CPP_RTTI': 'YES' + } }], [ 'OS=="linux"', { 'defines': [ 'ZMQ_HAVE_LINUX' ], + 'cflags_cc!': [ + '-fno-rtti' + ], 'libraries': [ '-lpthread' ]