mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-10 02:54: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
|
@ -35,7 +35,7 @@ run-test-aes: QEMU_OPTS += -cpu max
|
|||
#
|
||||
# hello-i386 is a barebones app
|
||||
#
|
||||
hello-i386: CFLAGS+=-ffreestanding
|
||||
hello-i386: CFLAGS+=-ffreestanding -fno-stack-protector
|
||||
hello-i386: LDFLAGS+=-nostdlib
|
||||
|
||||
# test-386 includes a couple of additional objects that need to be
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue