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
This commit is contained in:
Wolfgang Rosenauer 2014-11-04 23:02:38 +00:00 committed by Git OBS Bridge
parent 113f1f2433
commit ab979e2eb7
2 changed files with 15 additions and 1 deletions

View File

@ -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

View File

@ -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