aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMihai Moldovan <ionic@ionic.de>2017-10-16 07:24:38 +0200
committerMihai Moldovan <ionic@ionic.de>2017-10-16 07:28:47 +0200
commit9d750c686a3ce6d457041cdf5991a1a0749a8d0c (patch)
tree43c58b5e95723efeabc2a2be90c2864d777da655
parentdf3944d4614ca5aea595631ca4158a3baad2a257 (diff)
downloadnx-libs-9d750c686a3ce6d457041cdf5991a1a0749a8d0c.tar.gz
nx-libs-9d750c686a3ce6d457041cdf5991a1a0749a8d0c.tar.bz2
nx-libs-9d750c686a3ce6d457041cdf5991a1a0749a8d0c.zip
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)
-rw-r--r--debian/changelog6
-rw-r--r--nx-libs.spec9
2 files changed, 15 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index d03536355..1eaedd614 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 cc21a84f1..ab7c01ad0 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}