Drop no LTO build option for aarch64/s390 now it's fixed in binutils (RHBZ 1091611)

This commit is contained in:
Peter Robinson 2014-08-28 13:31:54 +01:00
parent 4dd25f856a
commit 522fbab110

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: 216 Version: 216
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
@ -289,11 +289,7 @@ pushd build3
--disable-compat-libs \ --disable-compat-libs \
--disable-kdbus \ --disable-kdbus \
PYTHON=%{__python3} PYTHON=%{__python3}
%ifnarch aarch64 s390 s390x
make %{?_smp_mflags} GCC_COLORS="" V=1 make %{?_smp_mflags} GCC_COLORS="" V=1
%else
make %{?_smp_mflags} CFLAGS="${CFLAGS} -fno-lto" GCC_COLORS="" V=1
%endif
popd popd
pushd build2 pushd build2
@ -304,11 +300,7 @@ pushd build2
--with-rc-local-script-path-start=/etc/rc.d/rc.local \ --with-rc-local-script-path-start=/etc/rc.d/rc.local \
--enable-compat-libs \ --enable-compat-libs \
--disable-kdbus --disable-kdbus
%ifnarch aarch64 s390 s390x
make %{?_smp_mflags} GCC_COLORS="" V=1 make %{?_smp_mflags} GCC_COLORS="" V=1
%else
make %{?_smp_mflags} CFLAGS="${CFLAGS} -fno-lto" GCC_COLORS="" V=1
%endif
popd popd
%install %install
@ -804,6 +796,9 @@ getent passwd systemd-journal-upload >/dev/null 2>&1 || useradd -r -l -g systemd
%{_datadir}/systemd/gatewayd %{_datadir}/systemd/gatewayd
%changelog %changelog
* Thu Aug 28 2014 Peter Robinson <pbrobinson@fedoraproject.org> 216-3
- Drop no LTO build option for aarch64/s390 now it's fixed in binutils (RHBZ 1091611)
* Thu Aug 21 2014 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 216-2 * Thu Aug 21 2014 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 216-2
- Re-add patch to disable resolve.conf symlink (#1043119) - Re-add patch to disable resolve.conf symlink (#1043119)