]> git.ipfire.org Git - thirdparty/qemu.git/commit
configure: use a native non-cross compiler for linux-user
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 22 Dec 2023 09:55:43 +0000 (10:55 +0100)
committerMichael Tokarev <mjt@tls.msk.ru>
Fri, 5 Jan 2024 16:09:28 +0000 (19:09 +0300)
commitbb28ee11c2f64a1423e78ad5dfcdbcfa79ceb7d6
tree85b953c91f2a7b653c990fa2b7f550ba1cced57b
parenta331dc62adf6da31565c13c115402f6f21589346
configure: use a native non-cross compiler for linux-user

Commit c2118e9e1ab ("configure: don't try a "native" cross for linux-user",
2023-11-23) sought to avoid issues with using the native compiler with a
cross-endian or cross-bitness setup.  However, in doing so it ended up
requiring a cross compiler setup (and most likely a slow compiler setup)
even when building TCG tests that are native to the host architecture.
Always allow the host compiler in that case.

Cc: qemu-stable@nongnu.org
Fixes: c2118e9e1ab ("configure: don't try a "native" cross for linux-user", 2023-11-23)
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
(cherry picked from commit 007531586aa8ef6dccdadd927b89a50af62288d1)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
configure