From 7a4a1d091f0782da39958053710eb6c27d359591 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Mon, 7 Nov 2022 12:32:58 +0100 Subject: [PATCH] Build with gcc on ppc64le to work around ieeelongdouble issue The syslog.h glibc header is currently incompatible with clang ieeelongdouble, which we recently enabled by default again. Build with gcc to avoid the issue for now. See https://bugzilla.redhat.com/show_bug.cgi?id=2140618. --- compiler-rt.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/compiler-rt.spec b/compiler-rt.spec index 175b5ea..6cf6e9c 100644 --- a/compiler-rt.spec +++ b/compiler-rt.spec @@ -1,4 +1,8 @@ +# Fails to build due to https://bugzilla.redhat.com/show_bug.cgi?id=2140618. +%ifnarch ppc64le %global toolchain clang +%endif + %global compiler_rt_version 15.0.4 #global rc_ver 3 %global crt_srcdir compiler-rt-%{compiler_rt_version}%{?rc_ver:rc%{rc_ver}}.src