From: John Audia Date: Sun, 1 Jun 2025 15:15:54 +0000 (-0400) Subject: samba4: fix building with GCC 15.1 X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=badcbe040fee78aeaaa69307044da51c59a14827;p=openwrt-packages.git samba4: fix building with GCC 15.1 Force the default C version to -std=gnu17. Signed-off-by: John Audia --- diff --git a/net/samba4/Makefile b/net/samba4/Makefile index 4afa87463..97345641c 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:=: