mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-10-04 18:20:06 +00:00
tests/migration: 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> Reviewed-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-Id: <20230731091042.139159-2-akihiko.odaki@daynix.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
This commit is contained in:
parent
313e162951
commit
7a06a8fec9
|
@ -6,8 +6,8 @@ all: a-b-bios.h
|
||||||
fwdir=../../../pc-bios/s390-ccw
|
fwdir=../../../pc-bios/s390-ccw
|
||||||
|
|
||||||
CFLAGS+=-ffreestanding -fno-delete-null-pointer-checks -fPIE -Os \
|
CFLAGS+=-ffreestanding -fno-delete-null-pointer-checks -fPIE -Os \
|
||||||
-msoft-float -march=z900 -fno-asynchronous-unwind-tables -Wl,-pie \
|
-msoft-float -march=z900 -fno-asynchronous-unwind-tables \
|
||||||
-Wl,--build-id=none -nostdlib
|
-fno-stack-protector -Wl,-pie -Wl,--build-id=none -nostdlib
|
||||||
|
|
||||||
a-b-bios.h: s390x.elf
|
a-b-bios.h: s390x.elf
|
||||||
echo "$$__note" > header.tmp
|
echo "$$__note" > header.tmp
|
||||||
|
|
Loading…
Reference in a new issue