1
0

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
This commit is contained in:
Wolfgang Rosenauer 2014-11-04 11:16:51 +00:00 committed by Git OBS Bridge
parent 093f311c0c
commit 2e705fc3de
2 changed files with 9 additions and 0 deletions

View File

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

View File

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