1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-26 13:21:07 +03:00

hurd: fix gcc build in build-many-glibcs.py

gcc's libcilkrts has never actually supported GNU/Hurd, and doesn't
automatically disable it, and the support was actually removed in gcc trunk,
so that will never actually be fixed there.

	* scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
	--disable-libcilkrts to gcc configure.
This commit is contained in:
Samuel Thibault
2018-01-27 19:53:44 +01:00
parent 61a3a8c6ce
commit d4d5b2ddf3
2 changed files with 4 additions and 0 deletions

View File

@ -1329,6 +1329,8 @@ class Config(object):
tool_build = 'gcc'
cfg_opts += ['--enable-languages=c,c++', '--enable-shared',
'--enable-threads']
if self.os == 'gnu':
cfg_opts += ['--disable-libcilkrts']
self.build_cross_tool(cmdlist, 'gcc', tool_build, cfg_opts)