about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJoseph Myers <josmyers@redhat.com>2024-04-19 17:03:56 +0000
committerJoseph Myers <josmyers@redhat.com>2024-04-19 17:03:56 +0000
commitf6d18bea387676e774e18ce410ace8c33a5c3511 (patch)
tree423183236df73bd428c8d128074a5f98ccaf5bb3
parent5361ad3910c257bc327567be76fde532ed238e42 (diff)
downloadglibc-f6d18bea387676e774e18ce410ace8c33a5c3511.tar.gz
glibc-f6d18bea387676e774e18ce410ace8c33a5c3511.tar.xz
glibc-f6d18bea387676e774e18ce410ace8c33a5c3511.zip
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.
-rwxr-xr-xscripts/build-many-glibcs.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py
index ecc743e672..35dac538e5 100755
--- a/scripts/build-many-glibcs.py
+++ b/scripts/build-many-glibcs.py
@@ -358,7 +358,8 @@ class Context(object):
                                 {'variant': 'n64',
                                  'ccopts': '-mabi=64'}])
         self.add_config(arch='nios2',
-                        os_name='linux-gnu')
+                        os_name='linux-gnu',
+                        gcc_cfg=['--enable-obsolete'])
         self.add_config(arch='or1k',
                         os_name='linux-gnu',
                         variant='soft',