0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-21 21:19:50 +01:00

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

Set GCC_OPTIMIZATION_LEVEL explicitly, otherwise GYP defaults to -Os.
This commit is contained in:
Ben Noordhuis 2012-11-02 15:56:47 +01:00
parent 148f5e6512
commit a6fef475ce

View File

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