From: Felix Fietkau Date: Sat, 28 Jun 2008 17:55:21 +0000 (+0000) Subject: compile libnl with -ffunction-sections to make binaries that use genl smaller X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;h=981da6f3b9286ece98e78d265bc813ae44acdd96 compile libnl with -ffunction-sections to make binaries that use genl smaller SVN-Revision: 11600 --- 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) \