Merge pull request #1121 from shuax/dev

fix luajit
pull/1124/head
ruki 3 years ago committed by GitHub
commit a9c5c9e7e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      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")

Loading…
Cancel
Save