summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--build/common.gypi8
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', {