diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-01 19:56:04 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-01 19:56:04 +0000 |
commit | 9cb5cc705b1df14ac0854dda49f47d055cb57f2d (patch) | |
tree | 6360f968678323e199ed271a869d10aa15aca918 /build | |
parent | d8ff9e4d5064ac940e3eb4ea160d213c62478e86 (diff) | |
download | chromium_src-9cb5cc705b1df14ac0854dda49f47d055cb57f2d.zip chromium_src-9cb5cc705b1df14ac0854dda49f47d055cb57f2d.tar.gz chromium_src-9cb5cc705b1df14ac0854dda49f47d055cb57f2d.tar.bz2 |
Revert 73304 (broke clang/linux) - 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
TBR=timurrrr@chromium.org
Review URL: http://codereview.chromium.org/6334026
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73329 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 e0c5103..46059bd 100644 --- a/build/common.gypi +++ b/build/common.gypi @@ -978,7 +978,7 @@ '_DEBUG', ], 'cflags': [ - '-O<(debug_optimize)', + '-O>(debug_optimize)', '-g', ], }, @@ -994,7 +994,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', |