[lttng-tools] Disable hardening on ARM, to fix FTBFS. (See #987192)

Yannick Brosseau greenscientist at fedoraproject.org
Tue Sep 24 18:11:20 UTC 2013


commit a9d92b43548ec807b3b5485be092711c4c97f835
Author: Yannick Brosseau <yannick.brosseau at gmail.com>
Date:   Sun Sep 22 23:29:49 2013 -0400

    Disable hardening on ARM, to fix FTBFS. (See #987192)

 lttng-tools.spec |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/lttng-tools.spec b/lttng-tools.spec
index 2c7af60..13c1f87 100644
--- a/lttng-tools.spec
+++ b/lttng-tools.spec
@@ -1,7 +1,7 @@
 
 Name:           lttng-tools
 Version:        2.3.0
-Release:        1%{?dist}
+Release:        2%{?dist}
 License:        GPLv2 and LGPLv2
 URL:            http://lttng.org/lttng2.0
 Group:          Development/Tools
@@ -17,7 +17,10 @@ Requires(post): systemd
 Requires(preun): systemd
 Requires(postun): systemd
 
+#GCC crash when building this package on arm with hardening activated (See bug 987192).
+%ifnarch %{arm}
 %global _hardened_build 1
+%endif
 
 %description
 This package provides the unified interface to control both the LTTng kernel
@@ -97,6 +100,9 @@ exit 0
 %{_libdir}/pkgconfig/lttng-ctl.pc
 
 %changelog
+* Tue Sep 24 2013 Yannick Brosseau <yannick.brosseau at gmail.com> - 2.3.0-2
+- Disable hardening flags on arm, since it does not build with them
+
 * Fri Sep 20 2013 Yannick Brosseau <yannick.brosseau at gmail.com> - 2.3.0-1
 - New upstream release
 


More information about the scm-commits mailing list