Parcourir la source

compile libnl with -ffunction-sections to make binaries that use genl smaller

SVN-Revision: 11600
Felix Fietkau il y a 17 ans
Parent
commit
f5bdb5432f
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      package/libnl/Makefile

+ 2 - 0
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) \