summaryrefslogtreecommitdiff
path: root/package
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
parentbbc96d103aa84cbbc666755f86bbc26a86f8ef83 (diff)
downloadmtk-20170518-890c213508cc7702135bf289b48fbb366eea5e3b.zip
mtk-20170518-890c213508cc7702135bf289b48fbb366eea5e3b.tar.gz
mtk-20170518-890c213508cc7702135bf289b48fbb366eea5e3b.tar.bz2
x86_64 also needs -fPIC to create lua shared libraries
SVN-Revision: 12008
Diffstat (limited to 'package')
-rw-r--r--package/lua/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/lua/Makefile b/package/lua/Makefile
index 96dda82..d29b323 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