]> git.proxmox.com Git - mirror_qemu.git/commit
meson: move -no-pie from linker to compiler
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 22 May 2023 08:05:33 +0000 (10:05 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 25 May 2023 08:02:43 +0000 (10:02 +0200)
commitb03fcd6818f690d168860f895bc9e8eab971d6de
tree5d1236d8177332b4b4b0861ef12e7df492762c54
parent91a2e6882a788f270b6d9bc168128cd252812808
meson: move -no-pie from linker to compiler

The large comment in the patch says it all; the -no-pie flag is broken and
this is why it was not included in QEMU_LDFLAGS before commit a988b4c5614
("build: move remaining compiler flag tests to meson", 2023-05-18).  And
some distros made things even worse, so we have to add it to the compiler
command line.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1664
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
meson.build