Browse Source

build: make debug build on os x compile at -O0

Set GCC_OPTIMIZATION_LEVEL explicitly, otherwise GYP defaults to -Os.
v0.9.4-release
Ben Noordhuis 12 years ago
parent
commit
a6fef475ce
  1. 3
      common.gypi

3
common.gypi

@ -45,6 +45,9 @@
'LinkIncremental': 2, # enable incremental linking
},
},
'xcode_settings': {
'GCC_OPTIMIZATION_LEVEL': '0', # stop gyp from defaulting to -Os
},
},
'Release': {
'conditions': [

Loading…
Cancel
Save