From: Florian Fainelli Date: Wed, 30 Jul 2008 10:04:03 +0000 (+0000) Subject: x86_64 also needs -fPIC to create lua shared libraries X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=890c213508cc7702135bf289b48fbb366eea5e3b;p=openwrt%2Fstaging%2Frobimarko.git x86_64 also needs -fPIC to create lua shared libraries SVN-Revision: 12008 --- 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