From ecf7b6485d5f52c300372b2f311a47e4cd275863 Mon Sep 17 00:00:00 2001 From: "hans@chromium.org" Date: Wed, 13 Oct 2010 09:15:20 +0000 Subject: 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 --- build/common.gypi | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'build') 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', + ], + }], ] }, }, -- cgit v1.1