Add workaround for OOM on arm and i686 in rust

This commit is contained in:
Jan Horak 2019-09-04 15:26:02 +02:00
parent f0e9d7ba8f
commit 9016b951ad

View File

@ -478,6 +478,10 @@ export LDFLAGS=$MOZ_LINK_FLAGS
export PREFIX='%{_prefix}' export PREFIX='%{_prefix}'
export LIBDIR='%{_libdir}' export LIBDIR='%{_libdir}'
%ifarch %{arm} %{ix86}
export RUSTFLAGS="-Cdebuginfo=0"
%endif
%if 0%{?build_with_clang} %if 0%{?build_with_clang}
export LLVM_PROFDATA="llvm-profdata" export LLVM_PROFDATA="llvm-profdata"
export AR="llvm-ar" export AR="llvm-ar"