From f5bdb5432fef3a596c4b87ed45f0ec00a637a622 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 28 Jun 2008 17:55:21 +0000 Subject: [PATCH] compile libnl with -ffunction-sections to make binaries that use genl smaller SVN-Revision: 11600 --- 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.34.1