[29/42] openvmtools: Fix build with GCC 15

Message ID 20250502101632.1082010-29-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/openvmtools | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
  

Patch

diff --git a/lfs/openvmtools b/lfs/openvmtools
index 6e277f080..52ea91c73 100644
--- a/lfs/openvmtools
+++ b/lfs/openvmtools
@@ -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