diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2022-06-13 18:12:52 +0100 |
---|---|---|
committer | Alex Bennée <alex.bennee@linaro.org> | 2022-06-14 00:14:59 +0100 |
commit | b2df786170a4954d6346c284b8351ca79265d190 (patch) | |
tree | 99bf1da678e469d63ac576cc9f41804f113602f5 | |
parent | dcb40541ebca7ec98a14d461593b3cd7282b4fac (diff) | |
download | qemu-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-target | 2 |
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 |