aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xqemu_mode/build_qemu_support.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/qemu_mode/build_qemu_support.sh b/qemu_mode/build_qemu_support.sh
index a435f6f6..a161cc43 100755
--- a/qemu_mode/build_qemu_support.sh
+++ b/qemu_mode/build_qemu_support.sh
@@ -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