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

diff --git a/lfs/m4 b/lfs/m4
index 4756ef228000290235b747f2491b307bb93d9ffe..62d4a50a76bbdc825a87e55f59d17bcca30141e3 100644 (file)
--- a/lfs/m4
+++ b/lfs/m4
@@ -31,6 +31,9 @@ DL_FILE    = $(THISAPP).tar.xz
 DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 
+# Fix build with GCC 15
+CFLAGS += -std=gnu17
+
 # Normal build or $(TOOLS_DIR) build.
 #
 ifeq "$(ROOT)" ""