From ab979e2eb7382908f46ac8363634949a01a8271d95e1079882c20daf8310690e Mon Sep 17 00:00:00 2001 From: Wolfgang Rosenauer Date: Tue, 4 Nov 2014 23:02:38 +0000 Subject: [PATCH] Accepting request 259483 from devel:ARM:Factory - use proper macros for ARM - use '--disable-optimize' not only on 32-bit x86, but on 32-bit arm too to fix compiling. - pass '-Wl,--no-keep-memory' to linker to reduce required memory during linking on arm. OBS-URL: https://build.opensuse.org/request/show/259483 OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaFirefox?expand=0&rev=410 --- MozillaFirefox.changes | 13 +++++++++++++ MozillaFirefox.spec | 3 ++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/MozillaFirefox.changes b/MozillaFirefox.changes index fdc4493..ea08b70 100644 --- a/MozillaFirefox.changes +++ b/MozillaFirefox.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Mon Nov 3 11:36:04 UTC 2014 - dmueller@suse.com + +- use proper macros for ARM + +------------------------------------------------------------------- +Mon Nov 3 11:26:23 UTC 2014 - josua.mayer97@gmail.com + +- use '--disable-optimize' not only on 32-bit x86, but on 32-bit arm too + to fix compiling. +- pass '-Wl,--no-keep-memory' to linker to reduce required memory during + linking on arm. + ------------------------------------------------------------------- Thu Oct 30 11:31:05 UTC 2014 - wr@rosenauer.org diff --git a/MozillaFirefox.spec b/MozillaFirefox.spec index 923c415..9a7d036 100644 --- a/MozillaFirefox.spec +++ b/MozillaFirefox.spec @@ -300,6 +300,7 @@ export CFLAGS="${CFLAGS} -Os" %endif %ifarch %arm export CFLAGS="${CFLAGS/-g / }" +export LDFLAGS="-Wl,--no-keep-memory" %endif %ifarch ppc64 ppc64le export CFLAGS="$CFLAGS -mminimal-toc" @@ -319,7 +320,7 @@ ac_add_options --mandir=%{_mandir} ac_add_options --includedir=%{_includedir} ac_add_options --enable-release ac_add_options --enable-stdcxx-compat -%ifarch %ix86 +%ifarch %ix86 %arm %if 0%{?suse_version} > 1230 ac_add_options --disable-optimize %endif