Build aarch64 with -fPIC (rhbz 1232499)

This commit is contained in:
Peter Robinson 2015-07-02 16:32:23 +01:00
parent 806ecbe49c
commit 1ec8e52bb2

View File

@ -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: 12%{?dist} Release: 13%{?dist}
Epoch: 2 Epoch: 2
License: GPLv2+ and LGPLv2+ and BSD License: GPLv2+ and LGPLv2+ and BSD
Group: Development/Tools Group: Development/Tools
@ -614,7 +614,7 @@ unicore32-linux-user aarch64-softmmu"
--extra-cflags="%{optflags}" \ --extra-cflags="%{optflags}" \
%endif %endif
%ifarch aarch64 %ifarch aarch64
--extra-cflags="%{optflags} -fno-stack-protector" \ --extra-cflags="%{optflags} -fPIC" \
%endif %endif
--enable-pie \ --enable-pie \
--disable-werror \ --disable-werror \
@ -1198,6 +1198,9 @@ getent passwd qemu >/dev/null || \
%changelog %changelog
* Thu Jul 2 2015 Peter Robinson <pbrobinson@fedoraproject.org> 2:2.3.0-13
- Build aarch64 with -fPIC (rhbz 1232499)
* Wed Jul 01 2015 Nick Clifton <nickc@redhat.com> - 2:2.3.0-12 * Wed Jul 01 2015 Nick Clifton <nickc@redhat.com> - 2:2.3.0-12
- Disable stack protection for AArch64. F23's GCC thinks that it is available but F23's glibc does not support it. - Disable stack protection for AArch64. F23's GCC thinks that it is available but F23's glibc does not support it.