Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
29b0a172 by Rémi Denis-Courmont at 2025-11-08T05:58:18+00:00
contrib: gmp: fix build with GCC 15+

GCC 15 defaults to C23, yeut the gmp configure script only works with
C99 and C11.

- - - - -


1 changed file:

- contrib/src/gmp/rules.mak


Changes:

=====================================
contrib/src/gmp/rules.mak
=====================================
@@ -13,6 +13,8 @@ ifeq ($(ARCH),mips64el)
 GMP_CONF += --disable-assembly
 endif
 endif
+# gmp requires C99 and is _not_ forward-compatible with C23.
+GMP_CONF += CFLAGS="$(CFLAGS) -std=gnu99"
 
 ifdef HAVE_WIN32
 ifeq ($(ARCH),arm)



View it on GitLab: 
https://code.videolan.org/videolan/vlc/-/commit/29b0a17233ea014cb5576541adbe8ad48cdc5ca7

-- 
View it on GitLab: 
https://code.videolan.org/videolan/vlc/-/commit/29b0a17233ea014cb5576541adbe8ad48cdc5ca7
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance
_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to