diff --git a/daemon/filearch.ml b/daemon/filearch.ml index cf784f18a..7dfc1cb71 100644 --- a/daemon/filearch.ml +++ b/daemon/filearch.ml @@ -98,6 +98,8 @@ and canonical_elf_arch bits endianness elf_arch = | "64" -> "s390x" | _ -> failwithf "unknown S/390 bit size: %s" bits ) + else if substr "LoongArch" then + sprintf "loongarch%s" bits else elf_arch