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:
parent
148f5e6512
commit
a6fef475ce
@ -45,6 +45,9 @@
|
||||
'LinkIncremental': 2, # enable incremental linking
|
||||
},
|
||||
},
|
||||
'xcode_settings': {
|
||||
'GCC_OPTIMIZATION_LEVEL': '0', # stop gyp from defaulting to -Os
|
||||
},
|
||||
},
|
||||
'Release': {
|
||||
'conditions': [
|
||||
|
Loading…
Reference in New Issue
Block a user