diff options
author | tc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-29 00:39:06 +0000 |
---|---|---|
committer | tc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-29 00:39:06 +0000 |
commit | ffde793973e9f1d0ba032eb37e43e40c57325896 (patch) | |
tree | 7e4ce7e5f72fca2031019135db7cbd62a5ac730c | |
parent | 3e02b9797e7336eca80aac743b8cb08c74cbc027 (diff) | |
download | chromium_src-ffde793973e9f1d0ba032eb37e43e40c57325896.zip chromium_src-ffde793973e9f1d0ba032eb37e43e40c57325896.tar.gz chromium_src-ffde793973e9f1d0ba032eb37e43e40c57325896.tar.bz2 |
Re-add the code to only add sse2 flags on Chromium builds. It
was accidentally lost in r16719.
BUG=9007
Review URL: http://codereview.chromium.org/115902
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17155 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | build/common.gypi | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/build/common.gypi b/build/common.gypi index 7efdf06..910b990 100644 --- a/build/common.gypi +++ b/build/common.gypi @@ -328,12 +328,18 @@ # used during computation does not change depending on how the # compiler optimized the code, since the value is always kept # in its specified precision. + 'conditions': [ + ['branding=="Chromium"', { + 'cflags': [ + '-march=pentium4', + '-msse2', + '-mfpmath=sse', + ], + }], + ], 'cflags': [ '-m32', - '-march=pentium4', '-fno-exceptions', - '-msse2', - '-mfpmath=sse', '-Wall', ], 'ldflags': [ |