diff options
author | hans@chromium.org <hans@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-13 09:15:20 +0000 |
---|---|---|
committer | hans@chromium.org <hans@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-13 09:15:20 +0000 |
commit | ecf7b6485d5f52c300372b2f311a47e4cd275863 (patch) | |
tree | ea17882f0d148245ce1c24b47d82452352e22e91 /build | |
parent | 4d71540612a68ece49335aafe2d0b26710e0ff64 (diff) | |
download | chromium_src-ecf7b6485d5f52c300372b2f311a47e4cd275863.zip chromium_src-ecf7b6485d5f52c300372b2f311a47e4cd275863.tar.gz chromium_src-ecf7b6485d5f52c300372b2f311a47e4cd275863.tar.bz2 |
Don't use -fno-ident for Clang builds in Release mode on Linux.
It's not supported by Clang and causes a ton of "argument unused
during compilation" warnings.
BUG=none
TEST=everything still builds
Review URL: http://codereview.chromium.org/3614013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62381 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rw-r--r-- | build/common.gypi | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/build/common.gypi b/build/common.gypi index 3f37e4e..9f87a44 100644 --- a/build/common.gypi +++ b/build/common.gypi @@ -991,6 +991,11 @@ '-Wl,--gc-sections', ], }], + ['clang==1', { + 'cflags!': [ + '-fno-ident', + ], + }], ] }, }, |