]> git.ipfire.org Git - people/ms/ipfire-2.x.git/commitdiff
openvmtools: Fix build with GCC 15
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 30 Apr 2025 09:15:43 +0000 (09:15 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 1 May 2025 10:16:27 +0000 (10:16 +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