Use --enable-obsolete in build-many-glibcs.py for nios2-linux-gnu

Until GCC removes Nios II support (at which point we should do so as
well), this is now needed for GCC 14 / mainline to build for
nios2-linux-gnu target.

Tested with build-many-glibcs.py (GCC mainline) for nios2-linux-gnu.
This commit is contained in:
Joseph Myers 2024-04-19 17:03:56 +00:00
parent 5361ad3910
commit f6d18bea38

View File

@ -358,7 +358,8 @@ class Context(object):
{'variant': 'n64', {'variant': 'n64',
'ccopts': '-mabi=64'}]) 'ccopts': '-mabi=64'}])
self.add_config(arch='nios2', self.add_config(arch='nios2',
os_name='linux-gnu') os_name='linux-gnu',
gcc_cfg=['--enable-obsolete'])
self.add_config(arch='or1k', self.add_config(arch='or1k',
os_name='linux-gnu', os_name='linux-gnu',
variant='soft', variant='soft',