aboutsummaryrefslogtreecommitdiffstats
path: root/package
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
commitf5bdb5432fef3a596c4b87ed45f0ec00a637a622 (patch)
tree8c1fba7f8944194f70f53a9851afdc56460feab3 /package
parent2b5ce63303d50dc635aa8a7aa0953a546104c549 (diff)
downloadupstream-f5bdb5432fef3a596c4b87ed45f0ec00a637a622.tar.gz
upstream-f5bdb5432fef3a596c4b87ed45f0ec00a637a622.tar.bz2
upstream-f5bdb5432fef3a596c4b87ed45f0ec00a637a622.zip
compile libnl with -ffunction-sections to make binaries that use genl smaller
SVN-Revision: 11600
Diffstat (limited to 'package')
-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) \