[systemd] arm: disabling gold did not help; disable lto instead (#1193212)
Michal Schmidt
michich at fedoraproject.org
Wed Feb 18 16:00:24 UTC 2015
commit 6e198e408873249ab23407a4c20f1e894f998b1e
Author: Michal Schmidt <mschmidt at redhat.com>
Date: Wed Feb 18 17:00:58 2015 +0100
arm: disabling gold did not help; disable lto instead (#1193212)
systemd.spec | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/systemd.spec b/systemd.spec
index 36a47c2..d34eb67 100644
--- a/systemd.spec
+++ b/systemd.spec
@@ -16,7 +16,7 @@
Name: systemd
Url: http://www.freedesktop.org/wiki/Software/systemd
Version: 219
-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
@@ -300,11 +300,9 @@ CONFIGURE_OPTS=(
)
%ifarch %{arm} aarch64
-# gold on arm is broken
+# lto on arm is broken
# https://bugzilla.redhat.com/show_bug.cgi?id=1193212
-CONFIGURE_OPTS+=(
- LDFLAGS=-Wl,-fuse-ld=bfd
-)
+CFLAGS="%{optflags} -fno-lto"
%endif
pushd build3
@@ -864,6 +862,9 @@ getent passwd systemd-journal-upload >/dev/null 2>&1 || useradd -r -l -g systemd
/usr/lib/firewalld/services/*
%changelog
+* Wed Feb 18 2015 Michal Schmidt <mschmidt at redhat.com> - 219-3
+- arm: disabling gold did not help; disable lto instead (#1193212)
+
* Tue Feb 17 2015 Peter Jones <pjones at redhat.com> - 219-2
- Update 90-default.present for dbxtool.
More information about the scm-commits
mailing list