summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2024-12-07 21:03:17 +0800
committerGitHub <[email protected]>2024-12-07 21:03:17 +0800
commit46b99517934618116d6b280ffac819ba830af7db (patch)
treea3e5fed074114f1c1ae65d1e421b48ca6dc1ade1
parent77fe6c8c9011fb70b0c5f2c32ffb670abe37b1e9 (diff)
parentfab3e76384838ce60742f534b0d67a0ea6c71e2e (diff)
Merge pull request #5943 from Redbeanw44602/dev
fix loongarch support under zig toolchain.
-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