summaryrefslogtreecommitdiff
path: root/package/libnl
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/libnl
parent2b5ce63303d50dc635aa8a7aa0953a546104c549 (diff)
downloadmtk-20170518-f5bdb5432fef3a596c4b87ed45f0ec00a637a622.zip
mtk-20170518-f5bdb5432fef3a596c4b87ed45f0ec00a637a622.tar.gz
mtk-20170518-f5bdb5432fef3a596c4b87ed45f0ec00a637a622.tar.bz2
compile libnl with -ffunction-sections to make binaries that use genl smaller
SVN-Revision: 11600
Diffstat (limited to 'package/libnl')
-rw-r--r--package/libnl/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/libnl/Makefile b/package/libnl/Makefile
index a6dec00..88776a0 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) \