aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2019-12-17 16:23:08 +0100
committerFlorian Weimer <fweimer@redhat.com>2019-12-18 08:47:45 +0100
commit3aec0c3912859bcf0432c700a8fbdcb23b45545f (patch)
tree2ee79bb63abd113a6cfcf4aeb18e0af55bedac1a /scripts
parenta45244ce127763872ff0b5743fb4ac8299ee9b28 (diff)
downloadglibc-3aec0c3912859bcf0432c700a8fbdcb23b45545f.zip
glibc-3aec0c3912859bcf0432c700a8fbdcb23b45545f.tar.gz
glibc-3aec0c3912859bcf0432c700a8fbdcb23b45545f.tar.bz2
build-many-glibcs.py: Do not build C++ PCHs by default
They are not used during the subsequent glibc build, so creating them merely wastes time.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build-many-glibcs.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py
index 193d497..92cc613 100755
--- a/scripts/build-many-glibcs.py
+++ b/scripts/build-many-glibcs.py
@@ -1382,9 +1382,12 @@ class Config(object):
else:
tool_build = 'gcc'
# libsanitizer commonly breaks because of glibc header
- # changes, or on unusual targets.
+ # changes, or on unusual targets. C++ pre-compiled
+ # headers are not used during the glibc build and are
+ # expensive to create.
if not self.ctx.full_gcc:
- cfg_opts += ['--disable-libsanitizer']
+ cfg_opts += ['--disable-libsanitizer',
+ '--disable-libstdcxx-pch']
langs = 'all' if self.ctx.full_gcc else 'c,c++'
cfg_opts += ['--enable-languages=%s' % langs,
'--enable-shared', '--enable-threads']