aboutsummaryrefslogtreecommitdiffstats
path: root/package/lua
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2008-07-30 10:04:03 +0000
committerFlorian Fainelli <florian@openwrt.org>2008-07-30 10:04:03 +0000
commitff298d605db595e1cdb3fde1b9befd006eaf2199 (patch)
treec6d79e2aafd946c1e12da1f6d96ff3f218eb8c2c /package/lua
parentd9cd8d7af108dc22734ed482301176a97274422b (diff)
downloadupstream-ff298d605db595e1cdb3fde1b9befd006eaf2199.tar.gz
upstream-ff298d605db595e1cdb3fde1b9befd006eaf2199.tar.bz2
upstream-ff298d605db595e1cdb3fde1b9befd006eaf2199.zip
x86_64 also needs -fPIC to create lua shared libraries
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12008 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/lua')
-rw-r--r--package/lua/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/lua/Makefile b/package/lua/Makefile
index 96dda822ce..d29b3235d5 100644
--- a/package/lua/Makefile
+++ b/package/lua/Makefile
@@ -27,6 +27,9 @@ include $(INCLUDE_DIR)/package.mk
ifeq ($(ARCH),powerpc)
FPIC:=-fPIC
endif
+ifeq ($(ARCH),x86_64)
+ FPIC:=-fPIC
+endif
define Package/lua/Default