summaryrefslogtreecommitdiff
path: root/xmake/toolchains/zig/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2024-01-05 00:39:45 +0800
committerruki <[email protected]>2024-01-05 00:39:45 +0800
commit8e7b00111149713fca06ba548edbd419a79fe778 (patch)
tree42151ddb30d24a2feaa23a8e3adf0f134944f2c6 /xmake/toolchains/zig/xmake.lua
parent76f21280af93d9826fb2ec43bf19df16cfd7f29e (diff)
add more loong64 support
Diffstat (limited to 'xmake/toolchains/zig/xmake.lua')
-rw-r--r--xmake/toolchains/zig/xmake.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/toolchains/zig/xmake.lua b/xmake/toolchains/zig/xmake.lua
index 2cdd7cb8b..082dcba32 100644
--- a/xmake/toolchains/zig/xmake.lua
+++ b/xmake/toolchains/zig/xmake.lua
@@ -78,6 +78,8 @@ toolchain("zig")
arch = "i386"
elseif toolchain:is_arch("riscv64") then
arch = "riscv64"
+ elseif toolchain:is_arch("loong64") then
+ arch = "loong64"
elseif toolchain:is_arch("mips.*") then
arch = toolchain:arch()
elseif toolchain:is_arch("ppc64") then