samba4: fix building with GCC 15.1
authorJohn Audia <redacted>
Sun, 1 Jun 2025 15:15:54 +0000 (11:15 -0400)
committerHannu Nyman <redacted>
Mon, 2 Jun 2025 07:49:39 +0000 (10:49 +0300)
Force the default C version to -std=gnu17.

Signed-off-by: John Audia <redacted>
net/samba4/Makefile

index 4afa8746372cf54e5df65b9b44bc9029b4596655..97345641c6c7de154830e2e3561a19ebf382d74e 100644 (file)
@@ -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:=:
git clone https://git.99rst.org/PROJECT