aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2022-06-13 18:12:52 +0100
committerAlex Bennée <alex.bennee@linaro.org>2022-06-14 00:14:59 +0100
commitb2df786170a4954d6346c284b8351ca79265d190 (patch)
tree99bf1da678e469d63ac576cc9f41804f113602f5
parentdcb40541ebca7ec98a14d461593b3cd7282b4fac (diff)
downloadqemu-b2df786170a4954d6346c284b8351ca79265d190.zip
qemu-b2df786170a4954d6346c284b8351ca79265d190.tar.gz
qemu-b2df786170a4954d6346c284b8351ca79265d190.tar.bz2
test/tcg/arm: Use -mfloat-abi=soft for test-armv6m-undef
GCC11 from crossbuild-essential-armhf from ubuntu 22.04 errors: cc1: error: ‘-mfloat-abi=hard’: selected architecture lacks an FPU Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20220604032713.174976-1-richard.henderson@linaro.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20220613171258.1905715-2-alex.bennee@linaro.org>
-rw-r--r--tests/tcg/arm/Makefile.softmmu-target2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tcg/arm/Makefile.softmmu-target b/tests/tcg/arm/Makefile.softmmu-target
index 3fe237b..7df88dd 100644
--- a/tests/tcg/arm/Makefile.softmmu-target
+++ b/tests/tcg/arm/Makefile.softmmu-target
@@ -20,7 +20,7 @@ LDFLAGS+=-nostdlib -N -static
# Specific Test Rules
-test-armv6m-undef: EXTRA_CFLAGS+=-mcpu=cortex-m0
+test-armv6m-undef: EXTRA_CFLAGS+=-mcpu=cortex-m0 -mfloat-abi=soft
run-test-armv6m-undef: QEMU_OPTS+=-semihosting -M microbit -kernel
run-plugin-test-armv6m-undef-%: QEMU_OPTS+=-semihosting -M microbit -kernel