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>
This commit is contained in:
parent
d44f2f96f7
commit
26e7253375
4
configure
vendored
4
configure
vendored
@ -2058,8 +2058,12 @@ probe_target_compiler() {
|
|||||||
compute_target_variable $1 target_ranlib ranlib
|
compute_target_variable $1 target_ranlib ranlib
|
||||||
compute_target_variable $1 target_strip strip
|
compute_target_variable $1 target_strip strip
|
||||||
case "$1:$cpu" in
|
case "$1:$cpu" in
|
||||||
|
aarch64_be:aarch64 | \
|
||||||
|
armeb:arm | \
|
||||||
i386:x86_64 | \
|
i386:x86_64 | \
|
||||||
|
mips*:mips64 | \
|
||||||
ppc*:ppc64 | \
|
ppc*:ppc64 | \
|
||||||
|
sparc:sparc64 | \
|
||||||
"$cpu:$cpu")
|
"$cpu:$cpu")
|
||||||
: ${target_cc:=$cc}
|
: ${target_cc:=$cc}
|
||||||
: ${target_ccas:=$ccas}
|
: ${target_ccas:=$ccas}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user