From bd2a66fec5c81227bca5fe1c60c510cdfc289112 Mon Sep 17 00:00:00 2001 From: Mihai Moldovan Date: Mon, 16 Oct 2017 07:24:38 +0200 Subject: 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. --- nx-libs.spec | 9 +++++++++ 1 file changed, 9 insertions(+) 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} -- cgit v1.2.3