Accepting request 259749 from home:Guillaume_G:branches:mozilla:Factory

- Disable elf-hack for aarch64
- Enable EGL for aarch64
- Limit RAM usage during link for %arm
- Fix _constraints for ARM

OBS-URL: https://build.opensuse.org/request/show/259749
OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaFirefox?expand=0&rev=411
This commit is contained in:
Wolfgang Rosenauer 2014-11-06 20:54:53 +00:00 committed by Git OBS Bridge
parent 4e8e8c24b9
commit 8123ca95ba
3 changed files with 13 additions and 4 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Tue Nov 4 18:00:35 UTC 2014 - guillaume@opensuse.org
- Disable elf-hack for aarch64
- Enable EGL for aarch64
- Limit RAM usage during link for %arm
- Fix _constraints for ARM
-------------------------------------------------------------------
Mon Nov 3 11:36:04 UTC 2014 - dmueller@suse.com

View File

@ -300,7 +300,8 @@ export CFLAGS="${CFLAGS} -Os"
%endif
%ifarch %arm
export CFLAGS="${CFLAGS/-g / }"
export LDFLAGS="-Wl,--no-keep-memory"
# Limit RAM usage during link
export LDFLAGS="${LDFLAGS} -Wl,--no-keep-memory -Wl,--reduce-memory-overheads"
%endif
%ifarch ppc64 ppc64le
export CFLAGS="$CFLAGS -mminimal-toc"
@ -325,7 +326,7 @@ ac_add_options --enable-stdcxx-compat
ac_add_options --disable-optimize
%endif
%endif
%ifnarch ppc ppc64 ppc64le
%ifnarch ppc ppc64 ppc64le aarch64
ac_add_options --enable-elf-hack
%endif
ac_add_options --with-system-nspr
@ -370,7 +371,7 @@ ac_add_options --disable-neon
ac_add_options --disable-webrtc
%endif
# try to use OpenGL-ES on ARM
%ifarch %arm
%ifarch %arm aarch64
ac_add_options --with-gl-provider=EGL
%endif
EOF

View File

@ -15,7 +15,7 @@
</conditions>
<hardware>
<memory>
<size unit="M">768</size>
<size unit="M">2600</size>
</memory>
</hardware>
</overwrite>