projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
148f5e6
)
build: make debug build on os x compile at -O0
author
Ben Noordhuis
<info@bnoordhuis.nl>
Fri, 2 Nov 2012 14:56:47 +0000
(15:56 +0100)
committer
Ben Noordhuis
<info@bnoordhuis.nl>
Fri, 2 Nov 2012 14:58:21 +0000
(15:58 +0100)
Set GCC_OPTIMIZATION_LEVEL explicitly, otherwise GYP defaults to -Os.
common.gypi
patch
|
blob
|
history
diff --git
a/common.gypi
b/common.gypi
index
f198d33
..
ce556fb
100644
(file)
--- a/
common.gypi
+++ b/
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': [