Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1432)

Unified Diff: build/common.gypi

Issue 6324007: clang/linux: Build with -g0 if fastbuild=1 is set (e.g. on the buildbots) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comment Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index eb7b37098d1c3034d3d9c9e8e42a2e29481ce93d..645c337a3c1f4b6f31544e8e6aeb6f580eeb4491 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', {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698