summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-09-18 18:30:57 +0000
committerSteven Barth <steven@midlink.org>2008-09-18 18:30:57 +0000
commit60579b28e861af7780b596eca70a547b4bb779d1 (patch)
treeb53cf856f6b6ed278ad49ef4843506165fc024b4
parent8509b6a83f5545f06b47505c9856411b2c053d66 (diff)
olsrd-luci: Enable position independent code for certain platforms
-rw-r--r--contrib/package/olsrd-luci/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/package/olsrd-luci/Makefile b/contrib/package/olsrd-luci/Makefile
index 42a0d514b..c437dceb7 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) \