olsrd-luci: Enable position independent code for certain platforms
This commit is contained in:
parent
8509b6a83f
commit
60579b28e8
1 changed files with 3 additions and 1 deletions
|
@ -12,7 +12,7 @@ include $(TOPDIR)/rules.mk
|
||||||
PKG_BASENAME:=olsrd
|
PKG_BASENAME:=olsrd
|
||||||
PKG_NAME:=$(PKG_BASENAME)-luci
|
PKG_NAME:=$(PKG_BASENAME)-luci
|
||||||
PKG_VERSION:=0.5.6
|
PKG_VERSION:=0.5.6
|
||||||
PKG_RELEASE:=3
|
PKG_RELEASE:=4
|
||||||
|
|
||||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_BASENAME)-$(PKG_VERSION)
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_BASENAME)-$(PKG_VERSION)
|
||||||
PKG_SOURCE:=$(PKG_BASENAME)-$(PKG_VERSION).tar.bz2
|
PKG_SOURCE:=$(PKG_BASENAME)-$(PKG_VERSION).tar.bz2
|
||||||
|
@ -124,6 +124,8 @@ define Package/olsrd-luci-mod-tas
|
||||||
DEPENDS:=olsrd-luci
|
DEPENDS:=olsrd-luci
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
TARGET_CFLAGS += $(FPIC)
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(MAKE) -C "$(PKG_BUILD_DIR)" olsrd libs \
|
$(MAKE) -C "$(PKG_BUILD_DIR)" olsrd libs \
|
||||||
$(TARGET_CONFIGURE_OPTS) \
|
$(TARGET_CONFIGURE_OPTS) \
|
||||||
|
|
Loading…
Reference in a new issue