x86_64 also needs -fPIC to create lua shared libraries
authorFlorian Fainelli <florian@openwrt.org>
Wed, 30 Jul 2008 10:04:03 +0000 (10:04 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Wed, 30 Jul 2008 10:04:03 +0000 (10:04 +0000)
SVN-Revision: 12008

package/lua/Makefile

index 96dda822ce991da55af6d38154f0022fc462a47a..d29b3235d52153d3fb98a769e024c532ca965987 100644 (file)
@@ -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