summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-07-30 10:04:03 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-07-30 10:04:03 +0000
commit512b9e875d96cd4b1012e1c8baca9c01ac650043 (patch)
treec6d79e2aafd946c1e12da1f6d96ff3f218eb8c2c /package
parent8e4f93aa5575906252ae8a49b9c9732943b7b30e (diff)
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')
-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