]> git.ipfire.org Git - people/ms/ipfire-2.x.git/commitdiff
m4: Fix build with GCC 15
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 27 Apr 2025 15:43:28 +0000 (15:43 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 1 May 2025 10:16:27 +0000 (10:16 +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)" ""