# HG changeset patch # User Dirk Müller # Date 1347355746 -7200 # Node ID cba7622bad5d307c01771e7e9346079593907196 # Parent 6bcb1bfae08e073044535a2484048a71b035c1ae ARM fixes - not using crashreporter - do not build debug symbols diff -r 6bcb1bfae08e -r cba7622bad5d xulrunner/xulrunner.changes --- a/xulrunner/xulrunner.changes Fri Aug 31 20:02:19 2012 +0200 +++ b/xulrunner/xulrunner.changes Tue Sep 11 11:29:06 2012 +0200 @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Sep 11 09:26:09 UTC 2012 - wr@rosenauer.org + +- update to 16.0b2 + ------------------------------------------------------------------- Sun Aug 26 13:48:04 UTC 2012 - wr@rosenauer.org @@ -38,6 +43,13 @@ - fixed filelist ------------------------------------------------------------------- +Fri Aug 17 13:09:49 UTC 2012 - dmueller@suse.com + +- fix build on ARM: + * disable crashreporter, it does not build + * reduce debuginfo during built to avoid running out of memory + +------------------------------------------------------------------- Sat Jul 14 19:33:44 UTC 2012 - wr@rosenauer.org - update to 14.0.1 (bnc#771583) diff -r 6bcb1bfae08e -r cba7622bad5d xulrunner/xulrunner.spec --- a/xulrunner/xulrunner.spec Fri Aug 31 20:02:19 2012 +0200 +++ b/xulrunner/xulrunner.spec Tue Sep 11 11:29:06 2012 +0200 @@ -87,7 +87,7 @@ %define has_system_nss 1 %define has_system_cairo 0 %define localize 0 -%ifarch ppc ppc64 s390 s390x ia64 +%ifarch ppc ppc64 s390 s390x ia64 %arm %define crashreporter 0 %else %define crashreporter 1 @@ -207,8 +207,13 @@ %ifarch ppc64 export CFLAGS="$CFLAGS -mminimal-toc" %endif +export LDFLAGS=" -Wl,-rpath -Wl,${MOZ_APP_DIR}" +%ifarch %arm +# debug symbols require too much memory during build +export CFLAGS="${CFLAGS/-g/}" +LDFLAGS+="-Wl,--reduce-memory-overheads -Wl,--no-keep-memory" +%endif export CXXFLAGS="$CFLAGS" -export LDFLAGS="-Wl,-rpath -Wl,${MOZ_APP_DIR}" export MOZCONFIG=$RPM_BUILD_DIR/mozconfig export MOZILLA_OFFICIAL=1 export BUILD_OFFICIAL=1 @@ -282,11 +287,12 @@ # ARM %ifarch %arm cat << EOF >> $MOZCONFIG -%ifarch armv7l +%ifarch armv7l armv7hl ac_add_options --with-arch=armv7-a ac_add_options --with-float-abi=hard ac_add_options --with-fpu=vfpv3-d16 ac_add_options --with-thumb=yes +ac_add_options --disable-debug %endif %ifarch armv5tel ac_add_options --with-arch=armv5te