From badcbe040fee78aeaaa69307044da51c59a14827 Mon Sep 17 00:00:00 2001 From: John Audia Date: Sun, 1 Jun 2025 11:15:54 -0400 Subject: [PATCH] samba4: fix building with GCC 15.1 Force the default C version to -std=gnu17. Signed-off-by: John Audia --- net/samba4/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/samba4/Makefile b/net/samba4/Makefile index 4afa874637..97345641c6 100644 --- a/net/samba4/Makefile +++ b/net/samba4/Makefile @@ -128,7 +128,7 @@ define Package/samba4-utils/description Utilities collection endef -TARGET_CFLAGS += $(FPIC) +TARGET_CFLAGS += $(FPIC) -std=gnu17 TARGET_LDFLAGS += -Wl,--as-needed # dont mess with sambas private rpath! RSTRIP:=: -- 2.30.2