From 8a83cee02dcbe385b8921a89d22e943223754baa Mon Sep 17 00:00:00 2001 From: shuax Date: Wed, 30 Mar 2022 13:20:19 +0800 Subject: [PATCH] fix luajit --- packages/l/luajit/port/xmake.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/l/luajit/port/xmake.lua b/packages/l/luajit/port/xmake.lua index 691cb0920..fbc3546e4 100755 --- a/packages/l/luajit/port/xmake.lua +++ b/packages/l/luajit/port/xmake.lua @@ -138,11 +138,9 @@ target("buildvm") add_defines("LUAJIT_TARGET=LUAJIT_ARCH_X86", {public = true}) elseif is_arch("x64", "x86_64") then if has_config("gc64") then - add_files("src/vm_x64.dasc") add_defines("LUAJIT_ENABLE_GC64", {public = true}) - else - add_files("src/vm_x86.dasc") end + add_files("src/vm_x64.dasc") add_defines("LUAJIT_TARGET=LUAJIT_ARCH_X64", {public = true}) elseif is_arch("arm64", "arm64-v8a") then add_files("src/vm_arm64.dasc")