Apply lld patch
This commit is contained in:
parent
316c5488a7
commit
a977a8b36b
@ -8,7 +8,7 @@ Patch2002: 0003-PATCH-clang-Don-t-install-static-libraries.patch
|
|||||||
Patch2005: 0001-Workaround-a-bug-in-ORC-on-ppc64le.patch
|
Patch2005: 0001-Workaround-a-bug-in-ORC-on-ppc64le.patch
|
||||||
|
|
||||||
#region LLD patches
|
#region LLD patches
|
||||||
Patch4001: 0002-PATCH-lld-Import-compact_unwind_encoding.h-from-libu.patch
|
Patch3001: 0002-PATCH-lld-Import-compact_unwind_encoding.h-from-libu.patch
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
# # Drop the following patch after debugedit adds support to DWARF-5:
|
# # Drop the following patch after debugedit adds support to DWARF-5:
|
||||||
@ -19,5 +19,5 @@ Patch4001: 0002-PATCH-lld-Import-compact_unwind_encoding.h-from-libu.patch
|
|||||||
# Temporary patch to add back -fno-openmp-implicit-rpath until we no longer
|
# Temporary patch to add back -fno-openmp-implicit-rpath until we no longer
|
||||||
# support Fedora 38 or older, which pass -fno-openmp-implicit-rpath in
|
# support Fedora 38 or older, which pass -fno-openmp-implicit-rpath in
|
||||||
# redhat-rpm-config.
|
# redhat-rpm-config.
|
||||||
Patch3001: 0001-Restore-fopenmp-implicit-rpath-disabled-by-default.patch
|
Patch9001: 0001-Restore-fopenmp-implicit-rpath-disabled-by-default.patch
|
||||||
%endif
|
%endif
|
@ -10,10 +10,10 @@
|
|||||||
# see http://ftp.rpm.org/max-rpm/s1-rpm-inside-macros.html
|
# see http://ftp.rpm.org/max-rpm/s1-rpm-inside-macros.html
|
||||||
%autosetup -N -T -b 0 -n %{src_tarball_dir}
|
%autosetup -N -T -b 0 -n %{src_tarball_dir}
|
||||||
|
|
||||||
%autopatch -M3000 -p1
|
%autopatch -M9000 -p1
|
||||||
|
|
||||||
%if 0%{?fedora} == 38
|
%if 0%{?fedora} == 38
|
||||||
%patch -p1 3001
|
%patch -p1 9001
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
#region LLVM preparation
|
#region LLVM preparation
|
||||||
|
Loading…
Reference in New Issue
Block a user