[X2Go-Commits] [nx-libs] 02/02: nx-libs.spec: add -mno-vxs to general C(XX)FLAGS on ppc64le.
git-admin at x2go.org
git-admin at x2go.org
Mon Oct 16 07:30:44 CEST 2017
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository nx-libs.
commit 9d750c686a3ce6d457041cdf5991a1a0749a8d0c
Author: Mihai Moldovan <ionic at ionic.de>
Date: Mon Oct 16 07:24:38 2017 +0200
nx-libs.spec: add -mno-vxs to general C(XX)FLAGS on ppc64le.
Hopefully just a temporary workaround until
https://bugzilla.redhat.com/show_bug.cgi?id=1489712 /
https://bugs.centos.org/view.php?id=13779 are resolved.
Backported from Arctica GH 3.6.x branch.
v2: backport to nx-libs 3.5.0.x (Mihai Moldovan)
---
debian/changelog | 6 ++++++
nx-libs.spec | 9 +++++++++
2 files changed, 15 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index d035363..1eaedd6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -14,6 +14,12 @@ nx-libs (2:3.5.0.33-0x2go1) UNRELEASED; urgency=low
- Add new x2goagent.options file to installed file list of x2goagent
package.
- Let x2goagent package satisfy x2goagent-virtual.
+ - nx-libs.spec: add -mno-vxs to general C(XX)FLAGS on ppc64le.
+ Hopefully just a temporary workaround until
+ https://bugzilla.redhat.com/show_bug.cgi?id=1489712 /
+ https://bugs.centos.org/view.php?id=13779 are resolved.
+ Backported from Arctica GH 3.6.x branch.
+ v2: backport to nx-libs 3.5.0.x (Mihai Moldovan)
* debian/:
- Add x2goagent.options file for compatibility with x2goserver nightly.
* debian/roll-tarballs.sh:
diff --git a/nx-libs.spec b/nx-libs.spec
index cc21a84..ab7c01a 100644
--- a/nx-libs.spec
+++ b/nx-libs.spec
@@ -1,5 +1,14 @@
%global _hardened_build 1
+# Override values for specific architectures.
+%ifarch ppc64le
+# Works around https://bugs.centos.org/view.php?id=13779 / https://bugzilla.redhat.com/show_bug.cgi?id=1489712
+# Compilation failure on PPC64LE due to a compiler bug.
+# REMEMBER TO REMOVE ONCE DOWNSTREAM FIXES THE ISSUE!
+%global __global_cflags %{__global_cflags} -mno-vsx
+%global __global_cxxflags %{__global_cxxflags} -mno-vsx
+%endif
+
Name: nx-libs
Version: 3.5.0.33
Release: 0.0x2go1%{?dist}
--
Alioth's /srv/git/code.x2go.org/nx-libs.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/nx-libs.git
More information about the x2go-commits
mailing list