]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
openvmtools: Fix build with GCC 15
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 2 May 2025 10:16:19 +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/openvmtools

index 6e277f080d6b85d5fbbb426d3bbb72eb53e0a106..52ea91c73ec1ab875fb2bb81f14be6cc04ec8147 100644 (file)
@@ -41,7 +41,8 @@ DEPS       =
 
 SERVICES   = openvmtools
 
-CFLAGS    += -Wno-error=array-bounds
+# Fix build with GCC 15
+CFLAGS    += -std=gnu17 -Wno-error=array-bounds
 
 ###############################################################################
 # Top-level Rules