diff options
author | Alex Bennée <alex.bennee@linaro.org> | 2021-04-01 11:25:20 +0100 |
---|---|---|
committer | Alex Bennée <alex.bennee@linaro.org> | 2021-04-06 15:04:34 +0100 |
commit | d175ac3847d30b7624f0bd43f437582e44b13ebd (patch) | |
tree | 30eff54a14eac62682ca738caff2bafa4dbc5350 /tests/tcg | |
parent | 109918d24a3bb9ed3d05beb34ea4ac6be443c138 (diff) | |
download | qemu-d175ac3847d30b7624f0bd43f437582e44b13ebd.zip qemu-d175ac3847d30b7624f0bd43f437582e44b13ebd.tar.gz qemu-d175ac3847d30b7624f0bd43f437582e44b13ebd.tar.bz2 |
tests/tcg: update the defaults for x86 compilers
You don't usually notice this is broken on developer system on x86 as
we use the normal host compiler. However on other systems the -pc was
extraneous. Also for 32 bit only i686 packages exist now so we should
use those when available.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20210401102530.12030-2-alex.bennee@linaro.org>
Diffstat (limited to 'tests/tcg')
-rwxr-xr-x | tests/tcg/configure.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tcg/configure.sh b/tests/tcg/configure.sh index ce304f4..af4aecf 100755 --- a/tests/tcg/configure.sh +++ b/tests/tcg/configure.sh @@ -52,7 +52,7 @@ fi : ${cross_cc_hexagon="hexagon-unknown-linux-musl-clang"} : ${cross_cc_cflags_hexagon="-mv67 -O2 -static"} : ${cross_cc_hppa="hppa-linux-gnu-gcc"} -: ${cross_cc_i386="i386-pc-linux-gnu-gcc"} +: ${cross_cc_i386="i686-linux-gnu-gcc"} : ${cross_cc_cflags_i386="-m32"} : ${cross_cc_m68k="m68k-linux-gnu-gcc"} : $(cross_cc_mips64el="mips64el-linux-gnuabi64-gcc") @@ -69,7 +69,7 @@ fi : ${cross_cc_cflags_sparc="-m32 -mv8plus -mcpu=ultrasparc"} : ${cross_cc_sparc64="sparc64-linux-gnu-gcc"} : ${cross_cc_cflags_sparc64="-m64 -mcpu=ultrasparc"} -: ${cross_cc_x86_64="x86_64-pc-linux-gnu-gcc"} +: ${cross_cc_x86_64="x86_64-linux-gnu-gcc"} : ${cross_cc_cflags_x86_64="-m64"} for target in $target_list; do |