mirror of
https://src.fedoraproject.org/rpms/llvm.git
synced 2024-11-28 10:35:42 +00:00
Disable Gold linker on RHEL <= 6
This commit is contained in:
parent
479366c921
commit
dd5f93537b
1 changed files with 4 additions and 0 deletions
|
@ -28,11 +28,15 @@ ExcludeArch: s390 s390x ppc ppc64
|
||||||
# gold linker support
|
# gold linker support
|
||||||
# arch list from binutils spec
|
# arch list from binutils spec
|
||||||
%global gold_arches %ix86 x86_64
|
%global gold_arches %ix86 x86_64
|
||||||
|
%if 0%{?rhel} >= 7 || 0%{?fedora}
|
||||||
%ifarch %gold_arches
|
%ifarch %gold_arches
|
||||||
%bcond_without gold
|
%bcond_without gold
|
||||||
%else
|
%else
|
||||||
%bcond_with gold
|
%bcond_with gold
|
||||||
%endif
|
%endif
|
||||||
|
%else
|
||||||
|
%bcond_with gold
|
||||||
|
%endif
|
||||||
|
|
||||||
Name: llvm
|
Name: llvm
|
||||||
Version: 3.1
|
Version: 3.1
|
||||||
|
|
Loading…
Reference in a new issue