Skip to content

Commit

Permalink
不知道为啥要把 x64 去掉才能编译出64位
Browse files Browse the repository at this point in the history
  • Loading branch information
sumneko committed Dec 23, 2023
1 parent e346999 commit 27a7a80
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions make.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
local lm = require 'luamake'

lm.arch = 'x64'
lm.EXE = 'lua'
lm.c = lm.compiler == 'msvc' and 'c89' or 'c11'
lm.cxx = 'c++17'
Expand Down Expand Up @@ -137,14 +136,14 @@ lm:lua_dll 'lni' {

lm:build 'ffi_dynasm' {
'$luamake', 'lua', 'make/ffi_dynasm.lua',
output = "3rd/ffi/src/call_x86.h",
output = "3rd/ffi/src/call_x64.h",
deps = {
'lua',
}
}

lm:phony {
input = "3rd/ffi/src/call_x86.h",
input = "3rd/ffi/src/call_x64.h",
output = "3rd/ffi/src/call.c",
}

Expand Down

0 comments on commit 27a7a80

Please sign in to comment.