Commit aecc4d17 authored by thakis@chromium.org's avatar thakis@chromium.org

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
parent 1e6b3cd2
...@@ -549,6 +549,14 @@ ...@@ -549,6 +549,14 @@
'debug_extra_cflags': '-g1', '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. ], # conditions for fastbuild.
}], # fastbuild!=0 }], # fastbuild!=0
['selinux==1', { ['selinux==1', {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment