summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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) \