Really disable use of Clang

Apparently commenting it out isn't enough.

Resolves: RHEL-59181
This commit is contained in:
Michael Catanzaro 2024-09-30 21:37:15 -05:00
parent f5706f0e60
commit fd707fd95a

View File

@ -10,12 +10,9 @@
%global with_gamepad 1
%endif
# Clang is preferred: https://skia.org/docs/user/build/#supported-and-preferred-compilers
#
# FIXME: Clang toolchain is broken on i686: https://issues.redhat.com/browse/RHEL-59586
# Disable it everywhere to ensure we use the same toolchain on all architectures.
#
#%global toolchain clang
# FIXME: Clang is preferred: https://skia.org/docs/user/build/#supported-and-preferred-compilers
# But Clang toolchain is broken on i686: https://issues.redhat.com/browse/RHEL-59586
# So, for now we'll use GCC instead.
# We run out of memory if building with LTO enabled on i686.
%ifarch %{ix86}
@ -42,9 +39,9 @@ Patch: webkitgtk-skia-musttail.patch
BuildRequires: bison
BuildRequires: bubblewrap
BuildRequires: clang
BuildRequires: cmake
BuildRequires: flex
BuildRequires: gcc-c++
BuildRequires: gettext
BuildRequires: git
BuildRequires: gnupg2