X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=package%2Flibnl%2FMakefile;h=c763526f8a400f65da9b055526dd149bfc70f8ca;hb=f5c53e76ad9d543aaf9005a7fdd88c522108527e;hp=f55d494a6360cb37fa5a3823a09e906566077da7;hpb=cb30800bf6c55c008f0264a5f304f6916a2731af;p=openwrt%2Fopenwrt.git diff --git a/package/libnl/Makefile b/package/libnl/Makefile index f55d494a63..c763526f8a 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 $(FPIC) + 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)/