[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 23/24] configure: remove unnecessary check
From: |
Paolo Bonzini |
Subject: |
[PATCH 23/24] configure: remove unnecessary check |
Date: |
Thu, 11 May 2023 11:50:20 +0200 |
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>
---
configure | 7 -------
1 file changed, 7 deletions(-)
diff --git a/configure b/configure
index 074c98e7641d..fd5d6788cbe8 100755
--- a/configure
+++ b/configure
@@ -1323,13 +1323,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" ;;
--
2.40.1
- [PATCH 15/24] build: move warning flag selection to meson, (continued)
- [PATCH 15/24] build: move warning flag selection to meson, Paolo Bonzini, 2023/05/11
- [PATCH 17/24] build: move compiler version check to meson, Paolo Bonzini, 2023/05/11
- [PATCH 02/24] meson: require 0.63.0, Paolo Bonzini, 2023/05/11
- [PATCH 16/24] build: move remaining compiler flag tests to meson, Paolo Bonzini, 2023/05/11
- [PATCH 19/24] configure: remove compiler sanity check, Paolo Bonzini, 2023/05/11
- [PATCH 22/24] configure: reorder option parsing code, Paolo Bonzini, 2023/05/11
- [PATCH 18/24] build: move --disable-debug-info to meson, Paolo Bonzini, 2023/05/11
- [PATCH 20/24] configure: do not rerun the tests with -Werror, Paolo Bonzini, 2023/05/11
- [PATCH 24/24] docs/devel: update build system docs, Paolo Bonzini, 2023/05/11
- [PATCH 21/24] configure: remove unnecessary mkdir, Paolo Bonzini, 2023/05/11
- [PATCH 23/24] configure: remove unnecessary check,
Paolo Bonzini <=