mirror of
https://git.jami.net/savoirfairelinux/jami-daemon.git
synced 2025-08-07 22:02:12 +08:00
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:

committed by
Adrien Béraud

parent
e849123c2b
commit
123fd551a4
@ -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
|
||||
|
Reference in New Issue
Block a user