Test another ARMv7 build setup (rhbz#1426850)
This commit is contained in:
parent
9a470d9523
commit
2967f737ef
35
firefox.spec
35
firefox.spec
@ -1,5 +1,5 @@
|
|||||||
# Temporary disabled due to js crash
|
# Temporary disabled due to js crash
|
||||||
ExcludeArch: armv7hl
|
#ExcludeArch: armv7hl
|
||||||
|
|
||||||
# Use system nspr/nss?
|
# Use system nspr/nss?
|
||||||
%define system_nss 1
|
%define system_nss 1
|
||||||
@ -97,7 +97,7 @@ ExcludeArch: armv7hl
|
|||||||
Summary: Mozilla Firefox Web browser
|
Summary: Mozilla Firefox Web browser
|
||||||
Name: firefox
|
Name: firefox
|
||||||
Version: 51.0.1
|
Version: 51.0.1
|
||||||
Release: 9%{?pre_tag}%{?dist}
|
Release: 10%{?pre_tag}%{?dist}
|
||||||
URL: https://www.mozilla.org/firefox/
|
URL: https://www.mozilla.org/firefox/
|
||||||
License: MPLv1.1 or GPLv2+ or LGPLv2+
|
License: MPLv1.1 or GPLv2+ or LGPLv2+
|
||||||
Group: Applications/Internet
|
Group: Applications/Internet
|
||||||
@ -342,21 +342,25 @@ echo "ac_add_options --enable-debug" >> .mozconfig
|
|||||||
echo "ac_add_options --disable-optimize" >> .mozconfig
|
echo "ac_add_options --disable-optimize" >> .mozconfig
|
||||||
echo "ac_add_options --enable-dtrace" >> .mozconfig
|
echo "ac_add_options --enable-dtrace" >> .mozconfig
|
||||||
%else
|
%else
|
||||||
echo "ac_add_options --disable-debug" >> .mozconfig
|
# Fedora 26 (gcc7) needs to disable default build flags (mozbz#1342344)
|
||||||
%ifarch ppc64le aarch64
|
|
||||||
echo 'ac_add_options --enable-optimize="-g -O2"' >> .mozconfig
|
|
||||||
%else
|
|
||||||
%if 0%{?fedora} > 25
|
%if 0%{?fedora} > 25
|
||||||
%ifarch s390 s390x
|
%ifnarch s390 s390x
|
||||||
# crashes in xpcshell with "-g -O2", potential gcc issue
|
%define optimize_flags "-g -O2"
|
||||||
echo "ac_add_options --enable-optimize" >> .mozconfig
|
%endif
|
||||||
|
%endif
|
||||||
|
%ifarch armv7hl
|
||||||
|
# ARMv7 need that (rhbz#1426850)
|
||||||
|
%define optimize_flags "-g -O2 -fno-schedule-insns"
|
||||||
|
%endif
|
||||||
|
%ifarch ppc64le aarch64
|
||||||
|
%define optimize_flags "-g -O2"
|
||||||
|
%endif
|
||||||
|
%if %{?optimize_flags}
|
||||||
|
echo 'ac_add_options --enable-optimize=%{?optimize_flags}' >> .mozconfig
|
||||||
%else
|
%else
|
||||||
echo 'ac_add_options --enable-optimize="-g -O2"' >> .mozconfig
|
echo 'ac_add_options --enable-optimize' >> .mozconfig
|
||||||
%endif
|
|
||||||
%else
|
|
||||||
echo "ac_add_options --enable-optimize" >> .mozconfig
|
|
||||||
%endif
|
|
||||||
%endif
|
%endif
|
||||||
|
echo "ac_add_options --disable-debug" >> .mozconfig
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# s390(x) fails to start with jemalloc enabled
|
# s390(x) fails to start with jemalloc enabled
|
||||||
@ -796,6 +800,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|||||||
#---------------------------------------------------------------------
|
#---------------------------------------------------------------------
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Mar 2 2017 Martin Stransky <stransky@redhat.com> - 51.0.1-10
|
||||||
|
- Test another ARMv7 build setup (rhbz#1426850)
|
||||||
|
|
||||||
* Mon Feb 27 2017 Martin Stransky <stransky@redhat.com> - 51.0.1-9
|
* Mon Feb 27 2017 Martin Stransky <stransky@redhat.com> - 51.0.1-9
|
||||||
- Disabled ARMv7 due to build failures (rhbz#1426850)
|
- Disabled ARMv7 due to build failures (rhbz#1426850)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user