mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 18:44:58 -06:00
tests/tcg: Add -fno-stack-protector
A build of GCC 13.2 will have stack protector enabled by default if it was configured with --enable-default-ssp option. For such a compiler, it is necessary to explicitly disable stack protector when linking without standard libraries. Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com> Message-Id: <20230731091042.139159-3-akihiko.odaki@daynix.com> [AJB: fix comment string typo] Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20231029145033.592566-3-alex.bennee@linaro.org>
This commit is contained in:
parent
05c223cef7
commit
580731dcc8
9 changed files with 10 additions and 10 deletions
|
@ -12,7 +12,7 @@ float_madds: CFLAGS+=-mfpu=neon-vfpv4
|
|||
|
||||
# Basic Hello World
|
||||
ARM_TESTS = hello-arm
|
||||
hello-arm: CFLAGS+=-marm -ffreestanding
|
||||
hello-arm: CFLAGS+=-marm -ffreestanding -fno-stack-protector
|
||||
hello-arm: LDFLAGS+=-nostdlib
|
||||
|
||||
# IWMXT floating point extensions
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue