mirror of
https://src.fedoraproject.org/rpms/llvm.git
synced 2024-11-28 02:34:52 +00:00
Don't install binutils-gold on RHEL 8
This subpackage is only available since RHEL 9.
This commit is contained in:
parent
8ad28122a0
commit
f14556f77b
1 changed files with 2 additions and 0 deletions
|
@ -293,8 +293,10 @@ BuildRequires: python%{python3_pkgversion}-myst-parser
|
||||||
BuildRequires: multilib-rpm-config
|
BuildRequires: multilib-rpm-config
|
||||||
%if %{with gold}
|
%if %{with gold}
|
||||||
BuildRequires: binutils-devel
|
BuildRequires: binutils-devel
|
||||||
|
%if %{undefined rhel} || 0%{?rhel} > 8
|
||||||
BuildRequires: binutils-gold
|
BuildRequires: binutils-gold
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
%ifarch %{valgrind_arches}
|
%ifarch %{valgrind_arches}
|
||||||
# Enable extra functionality when run the LLVM JIT under valgrind.
|
# Enable extra functionality when run the LLVM JIT under valgrind.
|
||||||
BuildRequires: valgrind-devel
|
BuildRequires: valgrind-devel
|
||||||
|
|
Loading…
Reference in a new issue