]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
gmp: Fix build with GCC 15
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 2 May 2025 10:16:32 +0000 (10:16 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 12 May 2025 14:32:44 +0000 (14:32 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
lfs/gmp

diff --git a/lfs/gmp b/lfs/gmp
index 555e9eeb52b8cd4065ffd69d0f81962b2e860b49..7dc3be7a6a0e8aa5a8d8fcfca777891efea412ef 100644 (file)
--- a/lfs/gmp
+++ b/lfs/gmp
@@ -32,6 +32,9 @@ DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 
+# Fix build with GCC 15
+CFLAGS += -std=gnu17
+
 ###############################################################################
 # Top-level Rules
 ###############################################################################