summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2017-02-23 13:19:22 +0100
committerMartin Stransky <stransky@redhat.com>2017-02-23 13:19:22 +0100
commit0eb6042fa192b54589a7f26f46f6f2fda9b74d53 (patch)
treecf59521711bc5ca1f9d3d5d3f3ea153823e912b4
parentFixed desktop file translations (diff)
downloadlibrewolf-fedora-ff-0eb6042fa192b54589a7f26f46f6f2fda9b74d53.tar.gz
librewolf-fedora-ff-0eb6042fa192b54589a7f26f46f6f2fda9b74d53.tar.bz2
librewolf-fedora-ff-0eb6042fa192b54589a7f26f46f6f2fda9b74d53.zip
Disabled -O3 optimization on rawhide to make FF usable (rhbz#1422532)
-rw-r--r--firefox.spec9
1 files changed, 8 insertions, 1 deletions
diff --git a/firefox.spec b/firefox.spec
index 70cf0d0..c421b84 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -98,7 +98,7 @@ ExcludeArch: armv7hl
Summary: Mozilla Firefox Web browser
Name: firefox
Version: 51.0.1
-Release: 4%{?pre_tag}%{?dist}
+Release: 5%{?pre_tag}%{?dist}
URL: https://www.mozilla.org/firefox/
License: MPLv1.1 or GPLv2+ or LGPLv2+
Group: Applications/Internet
@@ -343,9 +343,13 @@ echo "ac_add_options --disable-debug" >> .mozconfig
%ifarch ppc64le aarch64
echo 'ac_add_options --enable-optimize="-g -O2"' >> .mozconfig
%else
+%if 0%{?fedora} > 25
+echo 'ac_add_options --enable-optimize="-g -O2"' >> .mozconfig
+%else
echo "ac_add_options --enable-optimize" >> .mozconfig
%endif
%endif
+%endif
# s390(x) fails to start with jemalloc enabled
%ifarch s390 s390x
@@ -784,6 +788,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
#---------------------------------------------------------------------
%changelog
+* Thu Feb 23 2017 Martin Stransky <stransky@redhat.com> - 51.0.1-5
+- Disabled -O3 optimization on rawhide to make FF usable (rhbz#1422532)
+
* Wed Feb 15 2017 Jan Horak <jhorak@redhat.com> - 51.0.1-4
- Fixed bug 1421334 - translations for "New window"
bgstack15