From 74ab99f1a6b458d7d70257df658d0f2499b55a5e Mon Sep 17 00:00:00 2001 From: Richard W.M. Jones Date: Jul 03 2015 18:20:51 +0000 Subject: Revert "Enable -fPIC and -fPIE on every architecture (rhbz 1232499)." This reverts commit 77b7d81b2bc24507d1f3aef5684da89eb7c5fcc7. See https://bugzilla.redhat.com/show_bug.cgi?id=1232499#36 --- diff --git a/qemu.spec b/qemu.spec index 068227d..d5d406d 100644 --- a/qemu.spec +++ b/qemu.spec @@ -40,7 +40,7 @@ Summary: QEMU is a FAST! processor emulator Name: qemu Version: 2.3.0 -Release: 15%{?dist} +Release: 14%{?dist} Epoch: 2 License: GPLv2+ and LGPLv2+ and BSD Group: Development/Tools @@ -616,10 +616,10 @@ unicore32-linux-user aarch64-softmmu" --disable-strip \ %ifnarch aarch64 --extra-ldflags="$extraldflags -pie -Wl,-z,relro -Wl,-z,now" \ - --extra-cflags="%{optflags} -fPIC -fPIE" \ + --extra-cflags="%{optflags}" \ %endif %ifarch aarch64 - --extra-cflags="%{optflags} -fPIC -fPIE" \ + --extra-cflags="%{optflags} -fPIC" \ %endif --enable-pie \ --disable-werror \ @@ -1204,9 +1204,6 @@ getent passwd qemu >/dev/null || \ %changelog -* Fri Jul 3 2015 Richard W.M. Jones - 2:2.3.0-15 -- Enable -fPIC and -fPIE on every architecture (rhbz 1232499). - * Fri Jul 3 2015 Daniel P. Berrange - 2:2.3.0-14 - Use explicit --(enable,disable)-spice args (rhbz #1239102)