diff options
author | timurrrr@chromium.org <timurrrr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-01 18:05:43 +0000 |
---|---|---|
committer | timurrrr@chromium.org <timurrrr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-01 18:05:43 +0000 |
commit | d0a7adaf0b12a937d4de035930a345089d73f7ca (patch) | |
tree | c430ce87e55e0d0ca9c565d86ec45b90ad2aad13 /build | |
parent | 04e88dd82f2c400fa7736eb9416fbd302e2d8e20 (diff) | |
download | chromium_src-d0a7adaf0b12a937d4de035930a345089d73f7ca.zip chromium_src-d0a7adaf0b12a937d4de035930a345089d73f7ca.tar.gz chromium_src-d0a7adaf0b12a937d4de035930a345089d73f7ca.tar.bz2 |
Use early expansion for debug_optimize and release_optimize
This fixes a bug when these flags are not overriden from ~/.gyp/include.gypi
which is the way they should be set for Valgrind builds
(see http://dev.chromium.org/developers/how-tos/using-valgrind )
BUG=70107
TEST=gclient runhooks --force && grep "\-O" base/base.target.mk
Review URL: http://codereview.chromium.org/6267004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73304 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rw-r--r-- | build/common.gypi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build/common.gypi b/build/common.gypi index a3cb9dd..2c28ff2 100644 --- a/build/common.gypi +++ b/build/common.gypi @@ -972,7 +972,7 @@ '_DEBUG', ], 'cflags': [ - '-O>(debug_optimize)', + '-O<(debug_optimize)', '-g', ], }, @@ -988,7 +988,7 @@ 'no_gc_sections%': 0, }, 'cflags': [ - '-O>(release_optimize)', + '-O<(release_optimize)', # Don't emit the GCC version ident directives, they just end up # in the .comment section taking up binary size. '-fno-ident', |