1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-20 11:40:18 +02:00

Recognize LoongArch compilation targets.

* module/system/base/target.scm (cpu-endianness): Add case for "Loongarch" variants

Signed-off-by: Zhang Ning <zhangn1985@outlook.com>
This commit is contained in:
Zhang Ning 2022-11-02 13:15:59 +08:00 committed by Daniel Llorens
parent 8cb2d5c953
commit f3ea8f7fa1

View file

@ -101,6 +101,8 @@
(endianness little))
((string-match "riscv[1-9][0-9]*" cpu)
(endianness little))
((string-match "loongarch[1-9][0-9]*" cpu)
(endianness little))
(else
(error "unknown CPU endianness" cpu)))))