configure: handle host compiler in probe_target_compiler
commit2ad60f6f8c12ca0acd8834fdd70e088361b8791f
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 27 May 2022 15:35:50 +0000 (27 16:35 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Wed, 1 Jun 2022 14:47:43 +0000 (1 15:47 +0100)
tree780e6ba83e3550eb8d457d0e4cc2e39d99bcf42e
parent46af66edcb9c123069a941f495ba8b13f486851a
configure: handle host compiler in probe_target_compiler

In preparation for handling more binaries than just cc, handle
the case of "probe_target_compiler $cpu" directly in the function,
setting the target_* variables based on the ones that are used to
build QEMU.  The clang check also needs to be moved after this
fallback.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220517092616.1272238-10-pbonzini@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20220527153603.887929-21-alex.bennee@linaro.org>
configure