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 96dda82..d29b323 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