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
commit890c213508cc7702135bf289b48fbb366eea5e3b (patch)
tree9330ce8abe8482121700cfe127e60cccf28c54cc /package/lua
parentbbc96d103aa84cbbc666755f86bbc26a86f8ef83 (diff)
downloadupstream-890c213508cc7702135bf289b48fbb366eea5e3b.tar.gz
upstream-890c213508cc7702135bf289b48fbb366eea5e3b.tar.bz2
upstream-890c213508cc7702135bf289b48fbb366eea5e3b.zip
x86_64 also needs -fPIC to create lua shared libraries
SVN-Revision: 12008
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