diff options
| author | ruki <[email protected]> | 2020-09-11 22:20:00 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-09-11 22:20:00 +0800 |
| commit | 74f5f79c5baffa2297277fee0b799b70954fd1b7 (patch) | |
| tree | e3083a24bf28156b9b2b874ea17875d29294955b /core/src/luajit/xmake.lua | |
| parent | 3d07635bfab91ae47e1ea08e2e221a4209c6a610 (diff) | |
merge arm and arm64 autogen
Diffstat (limited to 'core/src/luajit/xmake.lua')
| -rw-r--r-- | core/src/luajit/xmake.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/src/luajit/xmake.lua b/core/src/luajit/xmake.lua index d10d6e04c..5553bb43a 100644 --- a/core/src/luajit/xmake.lua +++ b/core/src/luajit/xmake.lua @@ -6,6 +6,11 @@ if is_plat("msys", "cygwin") then plat = "windows" arch = is_arch("x86_64") and "x64" or "x86" end +if is_arch("arm64-v8a") then + arch = "arm64" +elseif is_arch("armv7") then + arch = "arm" +end if os.isfile("/etc/redhat-release") then jit = false end |
