This is an automated email from the git hooks/post-receive script.

lloda pushed a commit to branch main
in repository guile.

The following commit(s) were added to refs/heads/main by this push:
     new f3ea8f7fa Recognize LoongArch compilation targets.
f3ea8f7fa is described below

commit f3ea8f7fa1d84a559c7bf834fe5b675abe0ae7b8
Author: Zhang Ning <zhangn1...@outlook.com>
AuthorDate: Wed Nov 2 13:15:59 2022 +0800

    Recognize LoongArch compilation targets.
    
    * module/system/base/target.scm (cpu-endianness): Add case for "Loongarch" 
variants
    
    Signed-off-by: Zhang Ning <zhangn1...@outlook.com>
---
 module/system/base/target.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/module/system/base/target.scm b/module/system/base/target.scm
index 87ab5b0c4..a218daa52 100644
--- a/module/system/base/target.scm
+++ b/module/system/base/target.scm
@@ -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)))))
 

Reply via email to