From: Michael Tremer Date: Fri, 2 May 2025 10:15:53 +0000 (+0000) Subject: m4: Fix build with GCC 15 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=188190da145d9313cc703e2b9067e789e754014b;p=ipfire-2.x.git m4: Fix build with GCC 15 Signed-off-by: Michael Tremer --- diff --git a/lfs/m4 b/lfs/m4 index 4756ef228..62d4a50a7 100644 --- 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)" ""