Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2012-11-02 18:56:47 +0400
committerBen Noordhuis <info@bnoordhuis.nl>2012-11-02 18:58:21 +0400
commita6fef475ceb3e7e001a0dc659c028ad947a50886 (patch)
tree9893d0de54b0728f3f550521593be8c1504add59 /common.gypi
parent148f5e65123c92f62776a769c54e6318d984225e (diff)
build: make debug build on os x compile at -O0
Set GCC_OPTIMIZATION_LEVEL explicitly, otherwise GYP defaults to -Os.
Diffstat (limited to 'common.gypi')
-rw-r--r--common.gypi3
1 files changed, 3 insertions, 0 deletions
diff --git a/common.gypi b/common.gypi
index f198d331296..ce556fb43ab 100644
--- 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': [