From: Steven Barth Date: Thu, 18 Sep 2008 18:30:57 +0000 (+0000) Subject: olsrd-luci: Enable position independent code for certain platforms X-Git-Tag: 0.9.0~1262 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=60579b28e861af7780b596eca70a547b4bb779d1;p=oweals%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 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) \