aboutsummaryrefslogtreecommitdiff
path: root/scripts/build-many-glibcs.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build-many-glibcs.py')
-rwxr-xr-xscripts/build-many-glibcs.py12
1 files changed, 9 insertions, 3 deletions
diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py
index 07c10e4..36b1044 100755
--- a/scripts/build-many-glibcs.py
+++ b/scripts/build-many-glibcs.py
@@ -742,7 +742,13 @@ class Context(object):
logsdir = os.path.join(self.logsdir, 'host-libraries')
self.remove_recreate_dirs(installdir, builddir, logsdir)
cmdlist = CommandList('host-libraries', self.keep)
- self.build_host_library(cmdlist, 'gmp')
+ # This CFLAGS setting works around GMP 6.3.0's configure
+ # script being incompatible with compilers defaulting to C23
+ # and should be removed when this script is updated to use a
+ # release of GMP from after that configure test was fixed in
+ # Jan 2025.
+ self.build_host_library(cmdlist, 'gmp',
+ ['CFLAGS=-Wall -O2 -std=gnu17'])
self.build_host_library(cmdlist, 'mpfr',
['--with-gmp=%s' % installdir])
self.build_host_library(cmdlist, 'mpc',
@@ -831,9 +837,9 @@ class Context(object):
'gcc': 'vcs-14',
'glibc': 'vcs-mainline',
'gmp': '6.3.0',
- 'linux': '6.13',
+ 'linux': '6.15',
'mpc': '1.3.1',
- 'mpfr': '4.2.1',
+ 'mpfr': '4.2.2',
'mig': 'vcs-mainline',
'gnumach': 'vcs-mainline',
'hurd': 'vcs-mainline'}