From 2e705fc3de5bfa6b7705e7cd6d257bb73aeac8ab14359533804c64aef8d82a09 Mon Sep 17 00:00:00 2001 From: Wolfgang Rosenauer Date: Tue, 4 Nov 2014 11:16:51 +0000 Subject: [PATCH] Accepting request 259595 from home:Guillaume_G:branches:mozilla:Factory Fix ARM (armv7) build OBS-URL: https://build.opensuse.org/request/show/259595 OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaThunderbird?expand=0&rev=265 --- MozillaThunderbird.changes | 5 +++++ MozillaThunderbird.spec | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/MozillaThunderbird.changes b/MozillaThunderbird.changes index d20e86d..e11c813 100644 --- a/MozillaThunderbird.changes +++ b/MozillaThunderbird.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Nov 4 08:16:43 UTC 2014 - guillaume@opensuse.org + +- Limit RAM usage during link for ARM + ------------------------------------------------------------------- Sat Oct 25 18:41:27 UTC 2014 - wr@rosenauer.org diff --git a/MozillaThunderbird.spec b/MozillaThunderbird.spec index e33814f..eb970b5 100644 --- a/MozillaThunderbird.spec +++ b/MozillaThunderbird.spec @@ -232,6 +232,10 @@ export CFLAGS="$RPM_OPT_FLAGS -Os -fno-strict-aliasing" %ifarch ppc64 ppc64le export CFLAGS="$CFLAGS -mminimal-toc" %endif +%ifarch %arm +# Limit RAM usage during link +export LDFLAGS="${LDFLAGS} -Wl,--no-keep-memory -Wl,--reduce-memory-overheads" +%endif export CXXFLAGS="$CFLAGS" export MOZCONFIG=$RPM_BUILD_DIR/mozconfig #