diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2020-09-01 14:04:22 +0200 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2020-09-06 20:30:18 +0200 |
commit | 56c2e9fe3732ef2cb1f7d764490655e909f63498 (patch) | |
tree | d261603d4d7f6c404cd34c55bf7f88b0304ee36d /package/libs | |
parent | a617861d4c3959d8f3e026128c21da1e7c5f73a5 (diff) | |
download | upstream-56c2e9fe3732ef2cb1f7d764490655e909f63498.tar.gz upstream-56c2e9fe3732ef2cb1f7d764490655e909f63498.tar.bz2 upstream-56c2e9fe3732ef2cb1f7d764490655e909f63498.zip |
libnftnl: Activate link time optimization (LTO)
The ipk sizes for mips_24Kc change like this:
old:
libnftnl12_1.1.7-1_mips_24kc.ipk 47.459
new:
libnftnl12_1.1.7-2_mips_24kc.ipk 45.742
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'package/libs')
-rw-r--r-- | package/libs/libnftnl/Makefile | 5 |
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 \ |