[23/42] cifs-utils: Fix build with GCC 15

Message ID 20250502101632.1082010-23-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/cifs-utils | 3 +++
 1 file changed, 3 insertions(+)
  

Patch

diff --git a/lfs/cifs-utils b/lfs/cifs-utils
index a53c00bc9..068abee04 100644
--- a/lfs/cifs-utils
+++ b/lfs/cifs-utils
@@ -40,6 +40,9 @@  DEPS       = libtalloc
 
 SERVICES   =
 
+# Fix build with GCC 15
+CFLAGS += -std=gnu17
+
 ###############################################################################
 # Top-level Rules
 ###############################################################################