Commit 5e63a252 authored by Sergei Trofimovich's avatar Sergei Trofimovich

aclocal.m4: narrow down 'riscv*' to 'riscv-*' and 'riscv32*'

Two minor changes:
- 32-bit CPU macro is called riscv32_HOST_ARCH (was riscv_HOST_ARCH)
- shrink understood tuples from riscv* to riscv-* and riscv32*-* as
  a tiny safeguard against riscv128*- in future.
Suggested-by: James Clarke's avatarJames Clarke <jrtc27@jrtc27.com>
Signed-off-by: default avatarSergei Trofimovich <slyfox@gentoo.org>
parent 973ff4a1
......@@ -217,7 +217,7 @@ AC_DEFUN([FPTOOLS_SET_HASKELL_PLATFORM_VARS],
mipsel)
test -z "[$]2" || eval "[$]2=ArchMipsel"
;;
hppa|hppa1_1|ia64|m68k|nios2|riscv|riscv64|rs6000|s390|s390x|sh4|vax)
hppa|hppa1_1|ia64|m68k|nios2|riscv32|riscv64|rs6000|s390|s390x|sh4|vax)
test -z "[$]2" || eval "[$]2=ArchUnknown"
;;
*)
......@@ -1881,8 +1881,8 @@ case "$1" in
riscv64*)
$2="riscv64"
;;
riscv*)
$2="riscv"
riscv|riscv32*)
$2="riscv32"
;;
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