mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +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:
@ -17,6 +17,8 @@
|
|||||||
instead of void *.
|
instead of void *.
|
||||||
* sysdeps/pthread/timer_create.c (timer_create): Do not use
|
* sysdeps/pthread/timer_create.c (timer_create): Do not use
|
||||||
timer_ptr2id to cast struct timer_node * to void *.
|
timer_ptr2id to cast struct timer_node * to void *.
|
||||||
|
* scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
|
||||||
|
--disable-libcilkrts to gcc configure.
|
||||||
|
|
||||||
2018-01-27 James Clarke <jrtc27@jrtc27.com>
|
2018-01-27 James Clarke <jrtc27@jrtc27.com>
|
||||||
|
|
||||||
|
@ -1329,6 +1329,8 @@ class Config(object):
|
|||||||
tool_build = 'gcc'
|
tool_build = 'gcc'
|
||||||
cfg_opts += ['--enable-languages=c,c++', '--enable-shared',
|
cfg_opts += ['--enable-languages=c,c++', '--enable-shared',
|
||||||
'--enable-threads']
|
'--enable-threads']
|
||||||
|
if self.os == 'gnu':
|
||||||
|
cfg_opts += ['--disable-libcilkrts']
|
||||||
self.build_cross_tool(cmdlist, 'gcc', tool_build, cfg_opts)
|
self.build_cross_tool(cmdlist, 'gcc', tool_build, cfg_opts)
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user