From 60579b28e861af7780b596eca70a547b4bb779d1 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Thu, 18 Sep 2008 18:30:57 +0000 Subject: [PATCH] olsrd-luci: Enable position independent code for certain platforms --- contrib/package/olsrd-luci/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) \ -- 2.25.1