From af87e7dbd7fea2f315d4e5444396f941863b826d Mon Sep 17 00:00:00 2001 From: "epoger@google.com" Date: Fri, 29 Jul 2011 13:46:56 +0000 Subject: disable optimization in Mac debug build git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@1994 2bbb7eff-a529-9590-31e7-b0007b416f81 --- common.gypi | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'common.gypi') 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': { -- cgit v1.2.3