aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2018-03-30 16:57:52 +0200
committerJohn Crispin <john@phrozen.org>2018-04-30 09:01:28 +0200
commit3088c2a63dade139ee19ec20f5b12638739d4e79 (patch)
tree43b9c1a6c7b64cf30d88de602947bd93acce1762 /package
parent2391d6a29e3856f71de844ba2c1307fb6f36747b (diff)
downloadupstream-3088c2a63dade139ee19ec20f5b12638739d4e79.tar.gz
upstream-3088c2a63dade139ee19ec20f5b12638739d4e79.tar.bz2
upstream-3088c2a63dade139ee19ec20f5b12638739d4e79.zip
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@hauke-m.de>
Diffstat (limited to 'package')
-rw-r--r--package/libs/libnl/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/libs/libnl/Makefile b/package/libs/libnl/Makefile
index 67201cc7cc..2339a95652 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/