summaryrefslogtreecommitdiffstats
path: root/package/libnl/Makefile
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-06-28 17:55:21 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-06-28 17:55:21 +0000
commite9e6238a631e0015f4e35688291479d075637d7e (patch)
tree754cef094fff346867184ed5e8a8456813fc154a /package/libnl/Makefile
parent4cf91506a9efba7662cdb15440c4d277b6f9f080 (diff)
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
Diffstat (limited to 'package/libnl/Makefile')
-rw-r--r--package/libnl/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/libnl/Makefile b/package/libnl/Makefile
index a6dec002b..88776a07e 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) \