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 #