summaryrefslogtreecommitdiff
path: root/xmake/toolchains/zig/xmake.lua
diff options
context:
space:
mode:
authorRedbeanw44602 <[email protected]>2024-12-07 00:18:10 +0800
committerRedbeanw44602 <[email protected]>2024-12-07 00:18:10 +0800
commitfab3e76384838ce60742f534b0d67a0ea6c71e2e (patch)
tree9347510299b3fb9ee72f12d0f03d2845c38b0587 /xmake/toolchains/zig/xmake.lua
parent80507252590a9e98c8cc1a2ac04f1fcd987e5ed0 (diff)
fix loongarch support under zig toolchain.
Diffstat (limited to 'xmake/toolchains/zig/xmake.lua')
-rw-r--r--xmake/toolchains/zig/xmake.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/toolchains/zig/xmake.lua b/xmake/toolchains/zig/xmake.lua
index 69e0fbf7e..4a92bb59d 100644
--- a/xmake/toolchains/zig/xmake.lua
+++ b/xmake/toolchains/zig/xmake.lua
@@ -109,7 +109,7 @@ toolchain("zig")
elseif toolchain:is_arch("riscv64") then
arch = "riscv64"
elseif toolchain:is_arch("loong64") then
- arch = "loong64"
+ arch = "loongarch64"
elseif toolchain:is_arch("mips.*") then
arch = toolchain:arch()
elseif toolchain:is_arch("ppc64") then