diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2012-11-02 18:56:47 +0400 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2012-11-02 18:58:21 +0400 |
commit | a6fef475ceb3e7e001a0dc659c028ad947a50886 (patch) | |
tree | 9893d0de54b0728f3f550521593be8c1504add59 /common.gypi | |
parent | 148f5e65123c92f62776a769c54e6318d984225e (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.gypi | 3 |
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': [ |