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

Signed-off-by: John Audia <[email protected]>
libs/tcp_wrappers/Makefile

index 400968fd3d5cf83751832eaca18e70167084bf18..df0b90503bfe65dbc925d4f12d5168d516a88a89 100644 (file)
@@ -31,7 +31,7 @@ define Package/libwrap
   MAINTAINER:=Peter Wagner <[email protected]>
 endef
 
-TARGET_CFLAGS += $(FPIC) -Wall
+TARGET_CFLAGS += $(FPIC) -Wall -std=gnu17
 
 define Build/Compile
        $(MAKE) -C $(PKG_BUILD_DIR) \