Skip to content

Commit

Permalink
try fixing mac build error
Browse files Browse the repository at this point in the history
  • Loading branch information
3np committed Jun 2, 2022
1 parent ccc4441 commit c75774b
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions common.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
'target_defaults': {
'default_configuration': 'Release',
'cflags_cc' : [
'-std=c++14',
'-fext-numeric-literals',
'-std=gnu++14',
'-Wno-error=effc++',
# The assumption is that projects based on node-cpp-skel will also
# depend on mason packages. Currently (this will change in future mason versions)
Expand All @@ -14,7 +13,11 @@
# More details at https://github.com/mapbox/mason/issues/319
'-D_GLIBCXX_USE_CXX11_ABI=0'
],
'cflags_cc!': ['-std=gnu++0x','-fno-rtti', '-fno-exceptions'],
'cflags_cc!': [
'-std=gnu++0x',
'-fno-rtti',
'-fno-exceptions'
],
'configurations': {
'Debug': {
'defines!': [
Expand Down

0 comments on commit c75774b

Please sign in to comment.