diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-19 05:32:33 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-19 05:32:33 +0000 |
commit | aecc4d17d1e92344ab607b2baaad1b7057b100b4 (patch) | |
tree | bc17351010595a0b11a7c4fedb063d1f3f0da161 /build | |
parent | 1e6b3cd2dff4749f912e720d4e985b740ac7a75d (diff) | |
download | chromium_src-aecc4d17d1e92344ab607b2baaad1b7057b100b4.zip chromium_src-aecc4d17d1e92344ab607b2baaad1b7057b100b4.tar.gz chromium_src-aecc4d17d1e92344ab607b2baaad1b7057b100b4.tar.bz2 |
clang/linux: Build with -g0 if fastbuild=1 is set (e.g. on the buildbots)
BUG=70000
TEST=clang/linux bots are 5x as fast.
Review URL: http://codereview.chromium.org/6324007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71765 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rw-r--r-- | build/common.gypi | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/build/common.gypi b/build/common.gypi index eb7b370..645c337 100644 --- a/build/common.gypi +++ b/build/common.gypi @@ -549,6 +549,14 @@ 'debug_extra_cflags': '-g1', }, }], + # Clang creates chubby debug information, which makes linking very + # slow. For now, don't create debug information with clang. See + # http://crbug.com/70000 + ['OS=="linux" and clang==1', { + 'variables': { + 'debug_extra_cflags': '-g0', + }, + }], ], # conditions for fastbuild. }], # fastbuild!=0 ['selinux==1', { |