1
Fork 0
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:
Shea Levy 2018-02-25 20:34:39 -05:00 committed by Mark H Weaver
parent 72d80a1ea3
commit d6e669b8cb
No known key found for this signature in database
GPG key ID: 7CEF29847562C516

View file

@ -80,6 +80,8 @@
(endianness big))
((string=? "aarch64" cpu)
(endianness little))
((string-match "riscv[1-9][0-9]*" cpu)
(endianness little))
(else
(error "unknown CPU endianness" cpu)))))