Signed-off-by: Michael Tremer <michael.tre...@ipfire.org>
---
 lfs/openvmtools | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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
-- 
2.39.5


Reply via email to