Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Maintenance:12.2_ArchPorts
xulrunner
project.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File project.diff of Package xulrunner
--- xulrunner.changes.orig +++ xulrunner.changes @@ -1,4 +1,14 @@ ------------------------------------------------------------------- +Wed Sep 12 10:34:26 UTC 2012 - dvaleev@suse.com + +- reduce memory usage on ppc as well + +------------------------------------------------------------------- +Fri Aug 17 13:09:49 UTC 2012 - dmueller@suse.com + +- fix build on ARM + +------------------------------------------------------------------- Sat Jul 14 19:33:44 UTC 2012 - wr@rosenauer.org - update to 14.0.1 (bnc#771583) --- xulrunner.spec.orig +++ xulrunner.spec @@ -80,6 +80,7 @@ Patch9: mozilla-sle11.patch Patch11: mozilla-yarr-pcre.patch Patch12: mozilla-gcc47.patch Patch13: mozilla-ppc.patch +Patch14: mozilla-disable-debug.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: mozilla-js = %{version} Requires(post): update-alternatives coreutils @@ -89,7 +90,7 @@ Requires(preun): update-alternatives cor %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 @@ -197,6 +198,10 @@ symbols meant for upload to Mozilla's cr %patch11 -p1 %patch12 -p1 %patch13 -p1 +%ifarch %arm ppc ppc64 +# disable debug +%patch14 -p1 +%endif %build # no need to add build time to binaries @@ -211,8 +216,13 @@ export CFLAGS="$RPM_OPT_FLAGS -Os -fno-s %ifarch ppc64 export CFLAGS="$CFLAGS -mminimal-toc" %endif -export CXXFLAGS="$CFLAGS" export LDFLAGS="-Wl,-rpath -Wl,${MOZ_APP_DIR}" +%ifarch %arm ppc ppc64 +# debug symbols require too much memory during building +export CFLAGS="${CFLAGS/-g/}" +LDFLAGS+="-Wl,--reduce-memory-overheads -Wl,--no-keep-memory" +%endif +export CXXFLAGS="$CFLAGS" export MOZCONFIG=$RPM_BUILD_DIR/mozconfig export MOZILLA_OFFICIAL=1 export BUILD_OFFICIAL=1 @@ -286,7 +296,7 @@ EOF # 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
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor