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

Peter Robinson pbrobinson at fedoraproject.org
Thu Aug 28 12:32:07 UTC 2014


commit 522fbab110b86343fd75b9ba3234ce0ba4b15b2e
Author: Peter Robinson <pbrobinson at gmail.com>
Date:   Thu Aug 28 13:31:54 2014 +0100

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

 systemd.spec |   13 ++++---------
 1 files changed, 4 insertions(+), 9 deletions(-)
---
diff --git a/systemd.spec b/systemd.spec
index c6673f5..814b504 100644
--- a/systemd.spec
+++ b/systemd.spec
@@ -16,7 +16,7 @@
 Name:           systemd
 Url:            http://www.freedesktop.org/wiki/Software/systemd
 Version:        216
-Release:        2%{?gitcommit:.git%{gitcommit}}%{?dist}
+Release:        3%{?gitcommit:.git%{gitcommit}}%{?dist}
 # For a breakdown of the licensing, see README
 License:        LGPLv2+ and MIT and GPLv2+
 Summary:        A System and Service Manager
@@ -289,11 +289,7 @@ pushd build3
         --disable-compat-libs \
         --disable-kdbus \
         PYTHON=%{__python3}
-%ifnarch aarch64 s390 s390x
 make %{?_smp_mflags} GCC_COLORS="" V=1
-%else
-make %{?_smp_mflags} CFLAGS="${CFLAGS} -fno-lto" GCC_COLORS="" V=1
-%endif
 popd
 
 pushd build2
@@ -304,11 +300,7 @@ pushd build2
         --with-rc-local-script-path-start=/etc/rc.d/rc.local \
         --enable-compat-libs \
         --disable-kdbus
-%ifnarch aarch64 s390 s390x
 make %{?_smp_mflags} GCC_COLORS="" V=1
-%else
-make %{?_smp_mflags} CFLAGS="${CFLAGS} -fno-lto" GCC_COLORS="" V=1
-%endif
 popd
 
 %install
@@ -804,6 +796,9 @@ getent passwd systemd-journal-upload >/dev/null 2>&1 || useradd -r -l -g systemd
 %{_datadir}/systemd/gatewayd
 
 %changelog
+* Thu Aug 28 2014 Peter Robinson <pbrobinson at 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 at in.waw.pl> - 216-2
 - Re-add patch to disable resolve.conf symlink (#1043119)
 


More information about the scm-commits mailing list