commit be3a67a7f5079f30b0ccc696d549fd03a2dbbad1
parent 99c8f84efc280265d026737b2bdfd4741c8a74e8
Author: Reini Urban <rurban@cpan.org>
Date: Wed, 2 Dec 2020 12:17:42 +0100
arm64: try qemu-system-aarch64
Diffstat:
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/tools/test.sh b/tools/test.sh
@@ -20,10 +20,15 @@ testcc() {
init() {
case "$TARGET" in
arm64)
+ qemucmd=qemu-system-aarch64
+ if ! $qemucmd -version >/dev/null 2>&1
+ then
+ qemucmd=qemu-aarch64
+ fi
for p in aarch64-linux-musl aarch64-linux-gnu
do
cc=$p-gcc
- qemu="qemu-aarch64 -L /usr/$p"
+ qemu="$qemucmd -L /usr/$p"
if
$cc -v >/dev/null 2>&1 &&
$qemu -version >/dev/null 2>&1 &&