mirror of
https://github.com/openwrt/packages.git
synced 2025-12-10 12:41:22 +00:00
tcp_wrappers: fix building with GCC 15.1
Force the default C version to -std=gnu17. Signed-off-by: John Audia <therealgraysky@proton.me>
This commit is contained in:
@@ -31,7 +31,7 @@ define Package/libwrap
|
|||||||
MAINTAINER:=Peter Wagner <tripolar@gmx.at>
|
MAINTAINER:=Peter Wagner <tripolar@gmx.at>
|
||||||
endef
|
endef
|
||||||
|
|
||||||
TARGET_CFLAGS += $(FPIC) -Wall
|
TARGET_CFLAGS += $(FPIC) -Wall -std=gnu17
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||||
|
|||||||
Reference in New Issue
Block a user