aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMihai Moldovan <ionic@ionic.de>2018-02-07 22:21:35 +0100
committerMihai Moldovan <ionic@ionic.de>2018-02-07 22:21:35 +0100
commit88efaf8afcdfdfab8fadd004088fb6c360186753 (patch)
tree5b9da0e8ac797abcb124ef186cbb345679b72510
parenta110b0c456916f78b4653c39db5196acadfc0681 (diff)
downloadnx-libs-88efaf8afcdfdfab8fadd004088fb6c360186753.tar.gz
nx-libs-88efaf8afcdfdfab8fadd004088fb6c360186753.tar.bz2
nx-libs-88efaf8afcdfdfab8fadd004088fb6c360186753.zip
nx-libs.spec: only apply ppc64le workaround when compiled against RHEL/EPEL 7.
-rw-r--r--nx-libs.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/nx-libs.spec b/nx-libs.spec
index 748ca3d69..f68437d28 100644
--- a/nx-libs.spec
+++ b/nx-libs.spec
@@ -1,7 +1,7 @@
%global _hardened_build 1
# Override values for specific architectures.
-%ifarch ppc64le
+%ifarch ppc64le && 0%{?rhel} == 7
# 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!