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:26:17 +0200
commitbd2a66fec5c81227bca5fe1c60c510cdfc289112 (patch)
tree26f6e95be0bbd8c35459d16c2b6161d414b6e7ee
parent13041f5c0dea4a81bce06b912db617dfd8ebed34 (diff)
downloadnx-libs-bd2a66fec5c81227bca5fe1c60c510cdfc289112.tar.gz
nx-libs-bd2a66fec5c81227bca5fe1c60c510cdfc289112.tar.bz2
nx-libs-bd2a66fec5c81227bca5fe1c60c510cdfc289112.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.
-rw-r--r--nx-libs.spec9
1 files changed, 9 insertions, 0 deletions
diff --git a/nx-libs.spec b/nx-libs.spec
index de1f0092d..a73c231e8 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.99.10
Release: 0.0build1%{?dist}