summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2023-05-11 10:04:06 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2023-05-18 13:35:28 +0200
commitd71ccfa1b8ea2a67648e6b5becc247bb6f0956e1 (patch)
tree31e386a0247c99d88c2ab3c7847a765a8392d4d3
parent13cf376c1f5ee778d1ddae043346d494b4627cb2 (diff)
downloadfocaccia-qemu-d71ccfa1b8ea2a67648e6b5becc247bb6f0956e1.tar.gz
focaccia-qemu-d71ccfa1b8ea2a67648e6b5becc247bb6f0956e1.zip
configure: remove unnecessary check
All calls to probe_target_compiler are conditioned on
some "have_target" invocation, or inside a loop on target_list.
Therefore there is no issue with building unnecessary
firmware images and tests.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-rwxr-xr-xconfigure7
1 files changed, 0 insertions, 7 deletions
diff --git a/configure b/configure
index 5d3e3d39ee..bcab685cfd 100755
--- a/configure
+++ b/configure
@@ -1324,13 +1324,6 @@ probe_target_compiler() {
   container_cross_ranlib=
   container_cross_strip=
 
-  # We shall skip configuring the target compiler if the user didn't
-  # bother enabling an appropriate guest. This avoids building
-  # extraneous firmware images and tests.
-  if test "${target_list#*$1}" = "$1"; then
-      return 1
-  fi
-
   target_arch=${1%%-*}
   case $target_arch in
     aarch64) container_hosts="x86_64 aarch64" ;;