Revert "Enable -fPIC and -fPIE on every architecture (rhbz 1232499)."

This reverts commit 77b7d81b2b.

See https://bugzilla.redhat.com/show_bug.cgi?id=1232499#36
This commit is contained in:
Richard W.M. Jones 2015-07-03 19:20:51 +01:00
parent 77b7d81b2b
commit 74ab99f1a6

View File

@ -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 <rjones@redhat.com> - 2:2.3.0-15
- Enable -fPIC and -fPIE on every architecture (rhbz 1232499).
* Fri Jul 3 2015 Daniel P. Berrange <berrange@redhat.com> - 2:2.3.0-14
- Use explicit --(enable,disable)-spice args (rhbz #1239102)