[15/42] linux-atm: Fix build with GCC 15

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

Commit Message

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

Patch

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