]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
iftop: Fix build with GCC 15
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 2 May 2025 10:16:24 +0000 (10:16 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 12 May 2025 14:32:43 +0000 (14:32 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
lfs/iftop

index b9e33c58f9d82f6fbc44ded0e7080c29b7f54681..75197d94015554ef6bfb110ebbfd9adfa24ddff8 100644 (file)
--- a/lfs/iftop
+++ b/lfs/iftop
@@ -40,7 +40,8 @@ DEPS       =
 
 SERVICES   =
 
-CFLAGS    += -fcommon
+# Fix build with GCC 15
+CFLAGS    += -std=gnu17 -fcommon
 
 ###############################################################################
 # Top-level Rules