modified: detect_arch.sh

This commit is contained in:
exkc 2022-07-28 17:43:01 +08:00
parent ab27f6c172
commit 7444f95f75
1 changed files with 4 additions and 3 deletions

View File

@ -98,8 +98,9 @@ case "$(gcc -dumpmachine)" in
echo "x86-64"
echo "64"
;;
*)
echo "Unrecognized CPU architecture" >&2
exit 1
loongarch64)
echo "loongarch64"
echo "loongson cpu"
echo "64"
;;
esac