X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/2cd08ba990c1b357e89b9ccd86a0c8e42e46ae95..3de484921c3905e05081e5af8826848fe5cf0ca6:/package/libnl/Makefile diff --git a/package/libnl/Makefile b/package/libnl/Makefile index f55d494a6..c763526f8 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)/