diff options
author | Paolo Bonzini | 2022-06-06 10:47:45 +0200 |
---|---|---|
committer | Paolo Bonzini | 2022-07-06 09:31:15 +0200 |
commit | 26e7253375e5db94a2c08acbc4a3c8203b382024 (patch) | |
tree | 8f84f767e932701f0ec38ce5c3fb0ecaa056f06b | |
parent | configure, pc-bios/vof: pass cross CFLAGS correctly (diff) | |
download | qemu-26e7253375e5db94a2c08acbc4a3c8203b382024.tar.gz qemu-26e7253375e5db94a2c08acbc4a3c8203b382024.tar.xz qemu-26e7253375e5db94a2c08acbc4a3c8203b382024.zip |
configure: allow more host/target combos to use the host compiler
Add more pairs of bi-arch compilers, so that it is not necessary to have
e.g. both little-endian and big-endian ARM compilers.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-rwxr-xr-x | configure | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -2058,8 +2058,12 @@ probe_target_compiler() { compute_target_variable $1 target_ranlib ranlib compute_target_variable $1 target_strip strip case "$1:$cpu" in + aarch64_be:aarch64 | \ + armeb:arm | \ i386:x86_64 | \ + mips*:mips64 | \ ppc*:ppc64 | \ + sparc:sparc64 | \ "$cpu:$cpu") : ${target_cc:=$cc} : ${target_ccas:=$ccas} |