[lttng-tools] - add build workaround for s390(x)
Dan Horák
sharkcz at fedoraproject.org
Tue Oct 21 09:00:50 UTC 2014
commit ad6168a48248d3500b6a7158f1bc1499b3f5f54e
Author: Dan Horák <dan at danny.cz>
Date: Tue Oct 21 11:00:50 2014 +0200
- add build workaround for s390(x)
lttng-tools.spec | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/lttng-tools.spec b/lttng-tools.spec
index 3bef5e9..0830c53 100644
--- a/lttng-tools.spec
+++ b/lttng-tools.spec
@@ -1,7 +1,7 @@
Name: lttng-tools
Version: 2.4.1
-Release: 3%{?dist}
+Release: 4%{?dist}
License: GPLv2 and LGPLv2
URL: http://lttng.org/lttng2.0
Group: Development/Tools
@@ -44,6 +44,11 @@ autoreconf -vfi
#Reinitialize libtool with the fedora version to remove Rpath
libtoolize -cvfi
+%ifarch s390 s390x
+# workaround rhbz#837572 (ICE in gcc)
+%global optflags %(echo %{optflags} | sed 's/-O2/-O1/')
+%endif
+
%configure --disable-static
make %{?_smp_mflags} V=1
@@ -101,6 +106,9 @@ exit 0
%{_libdir}/pkgconfig/lttng-ctl.pc
%changelog
+* Tue Oct 21 2014 Dan Horák <dan[at]danny.cz> - 2.4.1-4
+- add build workaround for s390(x)
+
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.4.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
More information about the scm-commits
mailing list