Browse Source

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

SVN-Revision: 11600
Felix Fietkau 17 năm trước cách đây
mục cha
commit
f5bdb5432f
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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) \