summaryrefslogtreecommitdiff
path: root/common.gypi
diff options
context:
space:
mode:
authorepoger@google.com <epoger@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-07-29 13:46:56 +0000
committerepoger@google.com <epoger@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-07-29 13:46:56 +0000
commitaf87e7dbd7fea2f315d4e5444396f941863b826d (patch)
tree1978f11fc80747bca13de9687dfebef4232a4213 /common.gypi
parent5263ca66a55ac673455788b968dda00501ed4239 (diff)
downloadgyp-af87e7dbd7fea2f315d4e5444396f941863b826d.tar.gz
disable optimization in Mac debug build
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@1994 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'common.gypi')
-rw-r--r--common.gypi14
1 files changed, 6 insertions, 8 deletions
diff --git a/common.gypi b/common.gypi
index 6bba0f2..f1f1e97 100644
--- a/common.gypi
+++ b/common.gypi
@@ -138,10 +138,9 @@
],
'configurations': {
'Debug': {
- 'cflags': ['-g']
- },
- 'Release': {
- 'cflags': ['-O2']
+ 'xcode_settings': {
+ 'GCC_OPTIMIZATION_LEVEL': '0',
+ },
},
},
'xcode_settings': {
@@ -157,10 +156,9 @@
],
'configurations': {
'Debug': {
- 'cflags': ['-g']
- },
- 'Release': {
- 'cflags': ['-O2']
+ 'xcode_settings': {
+ 'GCC_OPTIMIZATION_LEVEL': '0',
+ },
},
},
'xcode_settings': {