[systemd] Disable building with -flto for the moment due to gcc 4.9 issues (RHBZ 1091611)

Peter Robinson pbrobinson at fedoraproject.org
Sat Apr 26 13:01:16 UTC 2014


commit 3498cab60fc95613a5a327376b6d79b19d4e44b3
Author: Peter Robinson <pbrobinson at gmail.com>
Date:   Sat Apr 26 14:01:02 2014 +0100

    Disable building with -flto for the moment due to gcc 4.9 issues (RHBZ 1091611)

 systemd.spec |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/systemd.spec b/systemd.spec
index 5cc9899..4ee2e98 100644
--- a/systemd.spec
+++ b/systemd.spec
@@ -16,7 +16,7 @@
 Name:           systemd
 Url:            http://www.freedesktop.org/wiki/Software/systemd
 Version:        212
-Release:        1%{?gitcommit:.git%{gitcommit}}%{?dist}
+Release:        2%{?gitcommit:.git%{gitcommit}}%{?dist}
 # For a breakdown of the licensing, see README
 License:        LGPLv2+ and MIT and GPLv2+
 Summary:        A System and Service Manager
@@ -272,7 +272,7 @@ pushd build3
         --enable-compat-libs \
         --disable-kdbus \
         PYTHON=%{__python3}
-make %{?_smp_mflags} GCC_COLORS="" V=1
+make %{?_smp_mflags} CFLAGS="${CFLAGS} -fno-lto" GCC_COLORS="" V=1
 popd
 
 pushd build2
@@ -283,7 +283,7 @@ pushd build2
         --with-rc-local-script-path-start=/etc/rc.d/rc.local \
         --enable-compat-libs \
         --disable-kdbus
-make %{?_smp_mflags} GCC_COLORS="" V=1
+make %{?_smp_mflags} CFLAGS="${CFLAGS} -fno-lto" GCC_COLORS="" V=1
 popd
 
 %install
@@ -717,6 +717,9 @@ getent passwd systemd-journal-gateway >/dev/null 2>&1 || useradd -r -l -u 191 -g
 %{_datadir}/systemd/gatewayd
 
 %changelog
+* Sat Apr 26 2014 Peter Robinson <pbrobinson at fedoraproject.org> 212-2
+- Disable building with -flto for the moment due to gcc 4.9 issues (RHBZ 1091611)
+
 * Tue Mar 25 2014 Lennart Poettering <lpoetter at redhat.com> - 212-1
 - New upstream release
 


More information about the scm-commits mailing list