From d67c7eef5fddd7ed2f8315d194ccb6f4e8481507 Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Jan 30 2024 15:01:24 +0000 Subject: Always enable PIE PIE is currently enabled for qemu-kvm builds, and disabled for qemu-user-static builds. --disable-pie is causing https://bugzilla.redhat.com/show_bug.cgi?id=2256916 This commit ensures --enable-pie is used for both qemu-kvm and qemu-user-static. This fixes https://bugzilla.redhat.com/show_bug.cgi?id=2256916 Signed-off-by: Christophe Fergeau --- diff --git a/qemu.spec b/qemu.spec index e97daf5..6841db9 100644 --- a/qemu.spec +++ b/qemu.spec @@ -1920,6 +1920,7 @@ pushd %{static_builddir} run_configure \ --enable-attr \ --enable-linux-user \ + --enable-pie \ --enable-tcg \ --disable-install-blobs \ --static