From e9e6238a631e0015f4e35688291479d075637d7e Mon Sep 17 00:00:00 2001 From: nbd Date: Sat, 28 Jun 2008 17:55:21 +0000 Subject: [PATCH] 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 --- package/libnl/Makefile | 2 ++ 1 file changed, 2 insertions(+) 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) \ -- 2.11.0