Add workaround for OOM on arm and i686 in rust
This commit is contained in:
parent
f0e9d7ba8f
commit
9016b951ad
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user