[openwrt/openwrt] libnl: Disable debug support
LEDE Commits
lede-commits at lists.infradead.org
Mon Apr 30 00:01:59 PDT 2018
blogic pushed a commit to openwrt/openwrt.git, branch master:
https://git.lede-project.org/3088c2a63dade139ee19ec20f5b12638739d4e79
commit 3088c2a63dade139ee19ec20f5b12638739d4e79
Author: Hauke Mehrtens <hauke at hauke-m.de>
AuthorDate: Fri Mar 30 16:57:52 2018 +0200
libnl: Disable debug support
This dereses the size of the libnl pakcage a little bit
old:
857 bin/packages/mips_24kc/base/libnl_3.4.0-1_mips_24kc.ipk
41195 bin/packages/mips_24kc/base/libnl-core_3.4.0-1_mips_24kc.ipk
7818 bin/packages/mips_24kc/base/libnl-genl_3.4.0-1_mips_24kc.ipk
24322 bin/packages/mips_24kc/base/libnl-nf_3.4.0-1_mips_24kc.ipk
136075 bin/packages/mips_24kc/base/libnl-route_3.4.0-1_mips_24kc.ipk
new:
852 bin/packages/mips_24kc/base/libnl_3.4.0-1_mips_24kc.ipk
35020 bin/packages/mips_24kc/base/libnl-core_3.4.0-1_mips_24kc.ipk
7615 bin/packages/mips_24kc/base/libnl-genl_3.4.0-1_mips_24kc.ipk
24114 bin/packages/mips_24kc/base/libnl-nf_3.4.0-1_mips_24kc.ipk
131134 bin/packages/mips_24kc/base/libnl-route_3.4.0-1_mips_24kc.ipk
Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
package/libs/libnl/Makefile | 3 +++
1 file changed, 3 insertions(+)
diff --git a/package/libs/libnl/Makefile b/package/libs/libnl/Makefile
index 67201cc..2339a95 100644
--- a/package/libs/libnl/Makefile
+++ b/package/libs/libnl/Makefile
@@ -80,6 +80,9 @@ endef
TARGET_CFLAGS += -ffunction-sections $(FPIC)
+CONFIGURE_ARGS += \
+ --disable-debug
+
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include/libnl3 $(1)/usr/lib/pkgconfig
$(CP) $(PKG_INSTALL_DIR)/usr/include/libnl3/* $(1)/usr/include/libnl3/
More information about the lede-commits
mailing list