summaryrefslogtreecommitdiff
path: root/xmake/modules
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/modules
parent76f21280af93d9826fb2ec43bf19df16cfd7f29e (diff)
add more loong64 support
Diffstat (limited to 'xmake/modules')
-rw-r--r--xmake/modules/private/detect/find_platform.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/modules/private/detect/find_platform.lua b/xmake/modules/private/detect/find_platform.lua
index 977f93072..e4308a90e 100644
--- a/xmake/modules/private/detect/find_platform.lua
+++ b/xmake/modules/private/detect/find_platform.lua
@@ -66,6 +66,8 @@ function _find_arch_from_cross()
arch = "riscv64"
elseif cross:find("riscv", 1, true) then
arch = "riscv"
+ elseif cross:find("loong64", 1, true) then
+ arch = "loong64"
elseif cross:find("s390x", 1, true) then
arch = "s390x"
elseif cross:find("powerpc64", 1, true) then