[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Guile-commits] 01/01: Recognize RISC-V compilation targets.

From: Mark H. Weaver
Subject: [Guile-commits] 01/01: Recognize RISC-V compilation targets.
Date: Thu, 15 Mar 2018 23:17:26 -0400 (EDT)

mhw pushed a commit to branch stable-2.2
in repository guile.

commit 08bb4628369cf3efe7c96a32919705c41a9ed9e9
Author: Shea Levy <address@hidden>
Date:   Sun Feb 25 20:34:39 2018 -0500

    Recognize RISC-V compilation targets.
    * module/system/base/target.scm (cpu-endianness): Add case for "riscv" 
    Signed-off-by: Shea Levy <address@hidden>
    Signed-off-by: Mark H Weaver <address@hidden>
 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 e80bf84..8af1995 100644
--- a/module/system/base/target.scm
+++ b/module/system/base/target.scm
@@ -78,6 +78,8 @@
              (endianness big))
             ((string=? "aarch64" cpu)
              (endianness little))
+            ((string-match "riscv[1-9][0-9]*" cpu)
+             (endianness little))
              (error "unknown CPU endianness" cpu)))))

reply via email to

[Prev in Thread] Current Thread [Next in Thread]