]> xenbits.xensource.com Git - qemu-xen.git/commitdiff
configure: allow more host/target combos to use the host compiler
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 6 Jun 2022 08:47:45 +0000 (10:47 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 6 Jul 2022 07:31:15 +0000 (09:31 +0200)
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>
configure

index 8f3401a23e8dba416c7172714f868fd1df8513f1..c9feb1a9242a42ad99eea5fc2c0de7474082d760 100755 (executable)
--- a/configure
+++ b/configure
@@ -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}