arm: disabling gold did not help; disable lto instead (#1193212)

This commit is contained in:
Michal Schmidt 2015-02-18 17:00:58 +01:00
parent 68864dcf85
commit 6e198e4088
1 changed files with 6 additions and 5 deletions

View File

@ -16,7 +16,7 @@
Name: systemd Name: systemd
Url: http://www.freedesktop.org/wiki/Software/systemd Url: http://www.freedesktop.org/wiki/Software/systemd
Version: 219 Version: 219
Release: 2%{?gitcommit:.git%{gitcommit}}%{?dist} Release: 3%{?gitcommit:.git%{gitcommit}}%{?dist}
# For a breakdown of the licensing, see README # For a breakdown of the licensing, see README
License: LGPLv2+ and MIT and GPLv2+ License: LGPLv2+ and MIT and GPLv2+
Summary: A System and Service Manager Summary: A System and Service Manager
@ -300,11 +300,9 @@ CONFIGURE_OPTS=(
) )
%ifarch %{arm} aarch64 %ifarch %{arm} aarch64
# gold on arm is broken # lto on arm is broken
# https://bugzilla.redhat.com/show_bug.cgi?id=1193212 # https://bugzilla.redhat.com/show_bug.cgi?id=1193212
CONFIGURE_OPTS+=( CFLAGS="%{optflags} -fno-lto"
LDFLAGS=-Wl,-fuse-ld=bfd
)
%endif %endif
pushd build3 pushd build3
@ -864,6 +862,9 @@ getent passwd systemd-journal-upload >/dev/null 2>&1 || useradd -r -l -g systemd
/usr/lib/firewalld/services/* /usr/lib/firewalld/services/*
%changelog %changelog
* Wed Feb 18 2015 Michal Schmidt <mschmidt@redhat.com> - 219-3
- arm: disabling gold did not help; disable lto instead (#1193212)
* Tue Feb 17 2015 Peter Jones <pjones@redhat.com> - 219-2 * Tue Feb 17 2015 Peter Jones <pjones@redhat.com> - 219-2
- Update 90-default.present for dbxtool. - Update 90-default.present for dbxtool.