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.
This commit is contained in:
Nikita Popov 2022-11-07 12:32:58 +01:00
parent a1891334fd
commit 7a4a1d091f
1 changed files with 4 additions and 0 deletions

View File

@ -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