Fixing clang build

This commit is contained in:
Jan Horak 2021-01-15 13:13:13 +01:00
parent d609ed6055
commit 39d2d1aeaf

View File

@ -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