[LuaJIT] Allow MIPS64 support 12567/head
authorDonald Hoskins <grommish@gmail.com>
Mon, 22 Jun 2020 04:03:34 +0000 (00:03 -0400)
committerDonald Hoskins <grommish@gmail.com>
Mon, 22 Jun 2020 04:06:24 +0000 (00:06 -0400)
Signed-off-by: Donald Hoskins <grommish@gmail.com>
lang/luajit/Makefile

index 8690bc5c88daa02f78cb1cdf0f6e771cbe7e78ae..94429a7b0a74e6296dd592fa551375f09e125fce 100644 (file)
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=luajit
 PKG_VERSION:=2.1.0-beta3
-PKG_RELEASE:=3
+PKG_RELEASE:=4
 
 PKG_SOURCE:=LuaJIT-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://luajit.org/download
@@ -24,14 +24,13 @@ define Package/luajit
  CATEGORY:=Languages
  TITLE:=LuaJIT
  URL:=https://www.luajit.org
- DEPENDS:=@(i386||x86_64||arm||armeb||aarch64||powerpc||mips||mipsel)
+ DEPENDS:=@(i386||x86_64||arm||armeb||aarch64||powerpc||mips||mipsel||mips64)
 endef
 
 define Package/luajit/description
  LuaJIT is a Just-In-Time (JIT) compiler for the Lua programming language. *** Requires GCC Multilib on host system to build! ***
 endef
-
-ifeq ($(HOST_ARCH),x86_64)
+ifeq ($(HOST_ARCH),$(filter $(HOST_ARCH), x86_64 mips64))
   ifeq ($(CONFIG_ARCH_64BIT),)
     HOST_BITS := -m32
   endif