Signed-off-by: Michael Tremer <michael.tre...@ipfire.org>
---
 lfs/linux-atm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lfs/linux-atm b/lfs/linux-atm
index e2bbd0698..10f84d46f 100644
--- a/lfs/linux-atm
+++ b/lfs/linux-atm
@@ -32,7 +32,8 @@ DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 
-CFLAGS    += -fcommon
+# Fix build with GCC 15
+CFLAGS    += -std=gnu99 -fcommon
 
 ###############################################################################
 # Top-level Rules
-- 
2.39.5


Reply via email to