From 9016b951adbe07a913da4095cc1fc9f362dd6057 Mon Sep 17 00:00:00 2001 From: Jan Horak Date: Wed, 4 Sep 2019 15:26:02 +0200 Subject: [PATCH] Add workaround for OOM on arm and i686 in rust --- thunderbird.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/thunderbird.spec b/thunderbird.spec index 14aa02b..0045c64 100644 --- a/thunderbird.spec +++ b/thunderbird.spec @@ -478,6 +478,10 @@ export LDFLAGS=$MOZ_LINK_FLAGS export PREFIX='%{_prefix}' export LIBDIR='%{_libdir}' +%ifarch %{arm} %{ix86} +export RUSTFLAGS="-Cdebuginfo=0" +%endif + %if 0%{?build_with_clang} export LLVM_PROFDATA="llvm-profdata" export AR="llvm-ar"