aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs/libnftnl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/libs/libnftnl/Makefile')
-rw-r--r--package/libs/libnftnl/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/libs/libnftnl/Makefile b/package/libs/libnftnl/Makefile
index 3d8d68ad5f..c56fb068ce 100644
--- a/package/libs/libnftnl/Makefile
+++ b/package/libs/libnftnl/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=libnftnl
PKG_VERSION:=1.1.7
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=https://netfilter.org/projects/$(PKG_NAME)/files
@@ -39,7 +39,8 @@ define Package/libnftnl/description
programming interface (API) to the in-kernel nf_tables subsystem.
endef
-TARGET_CFLAGS += $(FPIC)
+TARGET_CFLAGS += $(FPIC) -flto
+TARGET_LDFLAGS += -flto
CONFIGURE_ARGS += \
--enable-static \