aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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}