[03/42] m4: Fix build with GCC 15

Message ID 20250502101632.1082010-3-michael.tremer@ipfire.org
State New
Headers
Series [01/42] gcc: Update to 15 |

Commit Message

Michael Tremer May 2, 2025, 10:15 a.m. UTC
  Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
---
 lfs/m4 | 3 +++
 1 file changed, 3 insertions(+)
  

Patch

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)" ""