summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Henderson2022-07-28 20:39:01 +0200
committerPaolo Bonzini2022-07-29 00:15:02 +0200
commit705c881f7d8573d7520de2566396feb6a1223d57 (patch)
tree0918989cb7ae352d8d49be517f4c868492e63d08
parentstubs: update replay-tools to match replay.h types (diff)
downloadqemu-705c881f7d8573d7520de2566396feb6a1223d57.tar.gz
qemu-705c881f7d8573d7520de2566396feb6a1223d57.tar.xz
qemu-705c881f7d8573d7520de2566396feb6a1223d57.zip
configure: Fix ppc container_cross_cc substitution
When moving this code out of probe_target_compiler(), we failed to adjust the variable in which the target is located, resulting in e.g. powerpc64-linux-user-linux-gnu-gcc-10 Fixes: cd362defbbd ("tests/tcg: merge configure.sh back into main configure script") Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20220728183901.1290113-1-richard.henderson@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 2c19329d58..c4c02b8438 100755
--- a/configure
+++ b/configure
@@ -2028,7 +2028,7 @@ probe_target_compiler() {
;;
ppc64|ppc64le)
container_image=debian-powerpc-test-cross
- container_cross_prefix=powerpc${1#ppc}-linux-gnu-
+ container_cross_prefix=powerpc${target_arch#ppc}-linux-gnu-
container_cross_cc=${container_cross_prefix}gcc-10
;;
riscv64)