compile libnl with -ffunction-sections to make binaries that use genl smaller
[openwrt.git] / package / libnl / Makefile
index f55d494..88776a0 100644 (file)
@@ -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) \
@@ -36,7 +38,7 @@ define Build/Compile
                install
 endef
 
-ifneq ($(CONFIG_LINUX_2_6_23)$(CONFIG_LINUX_2_6_24),)
+ifneq ($(CONFIG_LINUX_2_6),)
   define Build/InstallDev
        $(INSTALL_DIR) $(1)
        $(CP) $(PKG_INSTALL_DIR)/* $(1)/
This page took 0.022822 seconds and 4 git commands to generate.