Stephan Kulow 2014-11-07 08:05:47 +00:00 committed by Git OBS Bridge
commit 260827d830
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 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 %ifarch ppc64 ppc64le
export CFLAGS="$CFLAGS -mminimal-toc" export CFLAGS="$CFLAGS -mminimal-toc"
%endif %endif
%ifarch %arm
# Limit RAM usage during link
export LDFLAGS="${LDFLAGS} -Wl,--no-keep-memory -Wl,--reduce-memory-overheads"
%endif
export CXXFLAGS="$CFLAGS" export CXXFLAGS="$CFLAGS"
export MOZCONFIG=$RPM_BUILD_DIR/mozconfig export MOZCONFIG=$RPM_BUILD_DIR/mozconfig
# #