Accepting request 158795 from devel:ARM:Factory

- build fixes for armv7hl:
  * disable debug build as armv7hl does not have enough memory
  * disable webrtc on armv7hl as it is non-compiling

OBS-URL: https://build.opensuse.org/request/show/158795
OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaFirefox?expand=0&rev=324
This commit is contained in:
Wolfgang Rosenauer 2013-03-14 09:58:43 +00:00 committed by Git OBS Bridge
parent ebe37a4908
commit 90bc4d30c6
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Mar 12 23:08:15 UTC 2013 - dmueller@suse.com
- build fixes for armv7hl:
* disable debug build as armv7hl does not have enough memory
* disable webrtc on armv7hl as it is non-compiling
-------------------------------------------------------------------
Thu Mar 7 19:03:32 UTC 2013 - wr@rosenauer.org

View File

@ -268,6 +268,9 @@ export MOZILLA_OFFICIAL=1
export BUILD_OFFICIAL=1
export MOZ_TELEMETRY_REPORTING=1
export CFLAGS="$RPM_OPT_FLAGS -Os -fno-strict-aliasing"
%ifarch %arm
export CFLAGS="${CFLAGS/-g/}"
%endif
%ifarch ppc64
export CFLAGS="$CFLAGS -mminimal-toc"
%endif
@ -328,6 +331,7 @@ EOF
%ifarch %arm
cat << EOF >> $MOZCONFIG
ac_add_options --disable-neon
ac_add_options --disable-webrtc
EOF
%endif
make -f client.mk build