Fixing clang build
This commit is contained in:
parent
d609ed6055
commit
39d2d1aeaf
@ -381,10 +381,6 @@ BuildRequires: llvm-toolset-%{llvm_version}-llvm-devel
|
||||
%if ! 0%{?use_bundled_yasm}
|
||||
BuildRequires: yasm
|
||||
%endif
|
||||
%if %{build_with_clang}
|
||||
BuildRequires: lld
|
||||
%endif
|
||||
|
||||
|
||||
%if 0%{?use_bundled_python_2}
|
||||
# Needed for Python in RHEL6
|
||||
@ -1128,7 +1124,6 @@ echo "export LLVM_PROFDATA=\"llvm-profdata\"" >> .mozconfig
|
||||
echo "export AR=\"llvm-ar\"" >> .mozconfig
|
||||
echo "export NM=\"llvm-nm\"" >> .mozconfig
|
||||
echo "export RANLIB=\"llvm-ranlib\"" >> .mozconfig
|
||||
echo "ac_add_options --enable-linker=lld" >> .mozconfig
|
||||
%else
|
||||
echo "export CC=gcc" >> .mozconfig
|
||||
echo "export CXX=g++" >> .mozconfig
|
||||
|
Loading…
Reference in New Issue
Block a user