mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
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.
This commit is contained in:
@ -1382,9 +1382,12 @@ class Config(object):
|
|||||||
else:
|
else:
|
||||||
tool_build = 'gcc'
|
tool_build = 'gcc'
|
||||||
# libsanitizer commonly breaks because of glibc header
|
# 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:
|
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++'
|
langs = 'all' if self.ctx.full_gcc else 'c,c++'
|
||||||
cfg_opts += ['--enable-languages=%s' % langs,
|
cfg_opts += ['--enable-languages=%s' % langs,
|
||||||
'--enable-shared', '--enable-threads']
|
'--enable-shared', '--enable-threads']
|
||||||
|
Reference in New Issue
Block a user