diff options
Diffstat (limited to 'package')
-rw-r--r-- | package/network/utils/nftables/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/package/network/utils/nftables/Makefile b/package/network/utils/nftables/Makefile index 8f6e605715..7830596e84 100644 --- a/package/network/utils/nftables/Makefile +++ b/package/network/utils/nftables/Makefile @@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=nftables PKG_VERSION:=0.9.6 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=https://netfilter.org/projects/$(PKG_NAME)/files @@ -58,6 +58,9 @@ ifeq ($(BUILD_VARIANT),json) CONFIGURE_ARGS += --with-json endif +TARGET_CFLAGS += -flto +TARGET_LDFLAGS += -flto + define Package/nftables/install/Default $(INSTALL_DIR) $(1)/usr/sbin $(CP) $(PKG_INSTALL_DIR)/usr/sbin/nft $(1)/usr/sbin/ |