contrib: fix gmp build with GCC 15

GCC 15 defaults to -std=gnu23, which breaks the configure checks (see:
<https://gmplib.org/list-archives/gmp-bugs/2024-November/005550.html>).

Change-Id: I9cffd29cd74319f55dadb121b362a2460a4730e5
This commit is contained in:
Maxim Cournoyer
2025-07-21 14:40:22 +09:00
committed by Adrien Béraud
parent e849123c2b
commit 123fd551a4

View File

@ -33,7 +33,7 @@ ifdef HAVE_MACOSX
$(RECONF)
cd $< && $(HOSTVARS) ./configure --without-clock-gettime --enable-static --disable-shared $(HOSTCONF)
else
cd $< && $(HOSTVARS) ./configure $(HOSTCONF)
cd $< && $(HOSTVARS) CFLAGS="$(CFLAGS) -std=gnu17" ./configure $(HOSTCONF)
endif
endif
cd $< && $(MAKE) install