fix qemu build script for Arch Linux ($CROSS)

This commit is contained in:
hexcoder- 2021-02-06 12:04:29 +01:00
parent e81f30828f
commit 08076f0500

View File

@ -364,6 +364,10 @@ ORIG_CROSS="$CROSS"
if [ "$ORIG_CROSS" = "" ]; then
CROSS=$CPU_TARGET-linux-gnu-gcc
if ! command -v "$CROSS" > /dev/null
then # works on Arch Linux
CROSS=$CPU_TARGET-pc-linux-gnu-gcc
fi
fi
if ! command -v "$CROSS" > /dev/null