Enable -fPIC and -fPIE on every architecture (rhbz 1232499).
This commit is contained in:
parent
bcb37b2ec0
commit
77b7d81b2b
@ -40,7 +40,7 @@
|
|||||||
Summary: QEMU is a FAST! processor emulator
|
Summary: QEMU is a FAST! processor emulator
|
||||||
Name: qemu
|
Name: qemu
|
||||||
Version: 2.3.0
|
Version: 2.3.0
|
||||||
Release: 14%{?dist}
|
Release: 15%{?dist}
|
||||||
Epoch: 2
|
Epoch: 2
|
||||||
License: GPLv2+ and LGPLv2+ and BSD
|
License: GPLv2+ and LGPLv2+ and BSD
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
@ -616,10 +616,10 @@ unicore32-linux-user aarch64-softmmu"
|
|||||||
--disable-strip \
|
--disable-strip \
|
||||||
%ifnarch aarch64
|
%ifnarch aarch64
|
||||||
--extra-ldflags="$extraldflags -pie -Wl,-z,relro -Wl,-z,now" \
|
--extra-ldflags="$extraldflags -pie -Wl,-z,relro -Wl,-z,now" \
|
||||||
--extra-cflags="%{optflags}" \
|
--extra-cflags="%{optflags} -fPIC -fPIE" \
|
||||||
%endif
|
%endif
|
||||||
%ifarch aarch64
|
%ifarch aarch64
|
||||||
--extra-cflags="%{optflags} -fPIC" \
|
--extra-cflags="%{optflags} -fPIC -fPIE" \
|
||||||
%endif
|
%endif
|
||||||
--enable-pie \
|
--enable-pie \
|
||||||
--disable-werror \
|
--disable-werror \
|
||||||
@ -1204,6 +1204,9 @@ getent passwd qemu >/dev/null || \
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Jul 3 2015 Daniel P. Berrange <berrange@redhat.com> - 2:2.3.0-14
|
||||||
- Use explicit --(enable,disable)-spice args (rhbz #1239102)
|
- Use explicit --(enable,disable)-spice args (rhbz #1239102)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user