mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 03:40:34 +02:00
Recognize RISC-V compilation targets.
* module/system/base/target.scm (cpu-endianness): Add case for "riscv" variants. Signed-off-by: Shea Levy <shea@shealevy.com> Signed-off-by: Mark H Weaver <mhw@netris.org>
This commit is contained in:
parent
72d80a1ea3
commit
d6e669b8cb
1 changed files with 2 additions and 0 deletions
|
@ -80,6 +80,8 @@
|
||||||
(endianness big))
|
(endianness big))
|
||||||
((string=? "aarch64" cpu)
|
((string=? "aarch64" cpu)
|
||||||
(endianness little))
|
(endianness little))
|
||||||
|
((string-match "riscv[1-9][0-9]*" cpu)
|
||||||
|
(endianness little))
|
||||||
(else
|
(else
|
||||||
(error "unknown CPU endianness" cpu)))))
|
(error "unknown CPU endianness" cpu)))))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue