mirror of
https://github.com/novatiq/packages.git
synced 2026-04-29 23:18:42 +01:00
luasec: Replace -fPIC with $(FPIC)
Currently i386 and the PPC targets have issues linking issues. https://github.com/openwrt/packages/issues/3319 says that replacing -fPIC with -fpic works. Patch added to avoid package overriding settings set by toolchain and make compilation less noisy Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=luasec
|
||||
PKG_VERSION:=0.7
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://codeload.github.com/brunoos/luasec/tar.gz/luasec-$(PKG_VERSION)?
|
||||
@@ -41,6 +41,9 @@ endef
|
||||
define Build/Configure
|
||||
endef
|
||||
|
||||
TARGET_CFLAGS += $(FPIC)
|
||||
TARGET_LDFLAGS += $(FPIC)
|
||||
|
||||
MAKE_FLAGS += \
|
||||
INCDIR="$(TARGET_CPPFLAGS) -I." \
|
||||
LIBDIR="$(TARGET_LDFLAGS) -L./luasocket" \
|
||||
|
||||
Reference in New Issue
Block a user