Commit beba89a0 authored by Sergei Trofimovich's avatar Sergei Trofimovich

aclocal.m4: allow riscv and riscv64 CPU

Tested on riscv64-unknown-linux-gnu tuple.
Signed-off-by: default avatarSergei Trofimovich <slyfox@gentoo.org>
parent 8ec48990
......@@ -217,7 +217,7 @@ AC_DEFUN([FPTOOLS_SET_HASKELL_PLATFORM_VARS],
mipsel)
test -z "[$]2" || eval "[$]2=ArchMipsel"
;;
hppa|hppa1_1|ia64|m68k|nios2|rs6000|s390|s390x|sh4|vax)
hppa|hppa1_1|ia64|m68k|nios2|riscv|riscv64|rs6000|s390|s390x|sh4|vax)
test -z "[$]2" || eval "[$]2=ArchUnknown"
;;
*)
......@@ -1878,6 +1878,12 @@ case "$1" in
powerpc*)
$2="powerpc"
;;
riscv64*)
$2="riscv64"
;;
riscv*)
$2="riscv"
;;
rs6000)
$2="rs6000"
;;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment