harec

[hare] Hare compiler, written in C11 for POSIX OSs
Log | Files | Refs | README | LICENSE

commit 78989a15dfcc301ac2eca07afb1f906e172bd48b
parent 29ff5517b838bf536a98d763959a094ba1a35d4f
Author: Bor Grošelj Simić <bgs@turminal.net>
Date:   Sat, 28 May 2022 02:56:11 +0200

configure: fix unsupported arch detection and reporting

Signed-off-by: Bor Grošelj Simić <bgs@turminal.net>

Diffstat:
Mrt/configure | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/rt/configure b/rt/configure @@ -26,10 +26,10 @@ rt() { amd64) arch=x86_64 ;; - aarch64) + aarch64|riscv64) ;; *) - printf "unsupported FreeBSD arch %s\n" "$(uname)" >&2 + printf "unsupported FreeBSD arch %s\n" "$arch" >&2 ;; esac rtstart=rt/+freebsd/start+$arch.o @@ -56,7 +56,7 @@ rt() { aarch64|riscv64) ;; *) - printf "unsupported OpenBSD arch %s\n" "$(uname)" >&2 + printf "unsupported OpenBSD arch %s\n" "$arch" >&2 ;; esac rtstart=rt/+openbsd/start+$arch.o