From: Steven Barth Date: Thu, 18 Sep 2008 18:32:10 +0000 (+0000) Subject: olsrd-luci: Enable position independent code for certain platforms X-Git-Tag: 0.8.0~57 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e20ee5ca007cb27ac71613f41706be415895d37e;p=project%2Fluci.git olsrd-luci: Enable position independent code for certain platforms --- diff --git a/contrib/package/olsrd-luci/Makefile b/contrib/package/olsrd-luci/Makefile index 42a0d514b6..c437dceb74 100644 --- a/contrib/package/olsrd-luci/Makefile +++ b/contrib/package/olsrd-luci/Makefile @@ -12,7 +12,7 @@ include $(TOPDIR)/rules.mk PKG_BASENAME:=olsrd PKG_NAME:=$(PKG_BASENAME)-luci PKG_VERSION:=0.5.6 -PKG_RELEASE:=3 +PKG_RELEASE:=4 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_BASENAME)-$(PKG_VERSION) PKG_SOURCE:=$(PKG_BASENAME)-$(PKG_VERSION).tar.bz2 @@ -124,6 +124,8 @@ define Package/olsrd-luci-mod-tas DEPENDS:=olsrd-luci endef +TARGET_CFLAGS += $(FPIC) + define Build/Compile $(MAKE) -C "$(PKG_BUILD_DIR)" olsrd libs \ $(TARGET_CONFIGURE_OPTS) \