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
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',
+ ],
+ }],
]
},
},