From fab3e76384838ce60742f534b0d67a0ea6c71e2e Mon Sep 17 00:00:00 2001 From: Redbeanw44602 Date: Sat, 7 Dec 2024 00:18:10 +0800 Subject: [PATCH] fix loongarch support under zig toolchain. --- xmake/toolchains/zig/xmake.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmake/toolchains/zig/xmake.lua b/xmake/toolchains/zig/xmake.lua index 69e0fbf7e4..4a92bb59d3 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