]> xenbits.xensource.com Git - qemu-xen.git/commitdiff
tests/tcg/configure.sh: make sure we pick up x86_64 cross compilers
authorAlex Bennée <alex.bennee@linaro.org>
Thu, 1 Apr 2021 10:25:23 +0000 (11:25 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Tue, 6 Apr 2021 14:04:42 +0000 (15:04 +0100)
While it's hard to find cross compilers packaged for arches other than
x86_64 the same cannot be said for the x86_64 compiler which is
available on Debians i386, arm64 and ppc64el release architectures.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210401102530.12030-5-alex.bennee@linaro.org>

tests/tcg/configure.sh

index 87a9f24b202fe556e7549f92de2ad81bea995d4b..90fd81f50644d9db3a8d132f10719bfbdb3a5119 100755 (executable)
@@ -198,6 +198,11 @@ for target in $target_list; do
       container_image=debian-sparc64-cross
       container_cross_cc=sparc64-linux-gnu-gcc
       ;;
+    x86_64-*)
+      container_hosts="aarch64 ppc64el x86_64"
+      container_image=debian-amd64-cross
+      container_cross_cc=x86_64-linux-gnu-gcc
+      ;;
     xtensa*-softmmu)
       container_hosts=x86_64
       container_image=debian-xtensa-cross