Related: #2210993 Fix FTBFS with clang LLVM 16 also on c8s/rhel-8.9.0

This commit is contained in:
Eike Rathke 2023-06-14 13:43:41 +02:00
parent 7d112c7bf2
commit 190b4cba79

View File

@ -718,7 +718,7 @@ echo "use_rustts %{?use_rustts}"
%patch424 -p1 -b .D158770.diff
%patch425 -p1 -b .mozilla-1833330
%if 0%{?fedora} >= 38 || (0%{?rhel} == 9 && %{rhel9_minor_version} >= 3)
%if 0%{?fedora} >= 38 || (0%{?rhel} == 9 && %{rhel9_minor_version} >= 3) || (0%{?rhel} == 8 && %{rhel8_minor_version} >= 9)
# MUST ONLY be applied for building against clang LLVM 16.
# Would crash with earlier clang.
%patch -P 427 -p1 -b .rust-bindgen-2319-2339