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