tcp_wrappers: fix building with GCC 15.1
authorJohn Audia <redacted>
Sun, 1 Jun 2025 12:44:16 +0000 (08:44 -0400)
committerHannu Nyman <redacted>
Mon, 2 Jun 2025 07:42:17 +0000 (10:42 +0300)
Force the default C version to -std=gnu17.

Signed-off-by: John Audia <redacted>
libs/tcp_wrappers/Makefile

index 400968fd3d5cf83751832eaca18e70167084bf18..df0b90503bfe65dbc925d4f12d5168d516a88a89 100644 (file)
@@ -31,7 +31,7 @@ define Package/libwrap
   MAINTAINER:=Peter Wagner <tripolar@gmx.at>
 endef
 
-TARGET_CFLAGS += $(FPIC) -Wall
+TARGET_CFLAGS += $(FPIC) -Wall -std=gnu17
 
 define Build/Compile
        $(MAKE) -C $(PKG_BUILD_DIR) \
git clone https://git.99rst.org/PROJECT