aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-06-28 17:55:21 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-06-28 17:55:21 +0000
commit68f8bcd23666dd5ad3e58e2fe9a79ff1d57e0746 (patch)
tree754cef094fff346867184ed5e8a8456813fc154a
parent3f198c6c0e1f8ed135b8b226c2e533f4a3494647 (diff)
downloadmaster-187ad058-68f8bcd23666dd5ad3e58e2fe9a79ff1d57e0746.tar.gz
master-187ad058-68f8bcd23666dd5ad3e58e2fe9a79ff1d57e0746.tar.bz2
master-187ad058-68f8bcd23666dd5ad3e58e2fe9a79ff1d57e0746.zip
compile libnl with -ffunction-sections to make binaries that use genl smaller
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11600 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/libnl/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/libnl/Makefile b/package/libnl/Makefile
index a6dec002b3..88776a07e9 100644
--- a/package/libnl/Makefile
+++ b/package/libnl/Makefile
@@ -29,6 +29,8 @@ define Package/libnl/description
This package contains a library for applications dealing with netlink sockets
endef
+TARGET_CFLAGS += -ffunction-sections
+
define Build/Compile
$(call Build/Compile/Default)
make -C $(PKG_BUILD_DIR) \