aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs/libnftnl
diff options
context:
space:
mode:
Diffstat (limited to 'package/libs/libnftnl')
-rw-r--r--package/libs/libnftnl/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/libs/libnftnl/Makefile b/package/libs/libnftnl/Makefile
index f92fb91eea..8d8c8c25e3 100644
--- a/package/libs/libnftnl/Makefile
+++ b/package/libs/libnftnl/Makefile
@@ -22,6 +22,7 @@ PKG_LICENSE_FILES:=COPYING
PKG_INSTALL:=1
PKG_BUILD_PARALLEL:=1
+PKG_BUILD_FLAGS:=lto
include $(INCLUDE_DIR)/package.mk
@@ -41,8 +42,7 @@ define Package/libnftnl/description
programming interface (API) to the in-kernel nf_tables subsystem.
endef
-TARGET_CFLAGS += $(FPIC) -flto
-TARGET_LDFLAGS += -flto
+TARGET_CFLAGS += $(FPIC)
CONFIGURE_ARGS += \
--enable-static \