olsrd-luci: Enable position independent code for certain platforms
authorSteven Barth <steven@midlink.org>
Thu, 18 Sep 2008 18:32:10 +0000 (18:32 +0000)
committerSteven Barth <steven@midlink.org>
Thu, 18 Sep 2008 18:32:10 +0000 (18:32 +0000)
contrib/package/olsrd-luci/Makefile

index 42a0d514b603fa5a8dcd94c4455e67d4d53e577f..c437dceb741f4adfeb3fc98ddfc98f8ee59420eb 100644 (file)
@@ -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) \