summaryrefslogtreecommitdiff
path: root/firefox.spec
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2016-04-18 12:04:54 +0200
committerMartin Stransky <stransky@redhat.com>2016-04-18 12:04:54 +0200
commitdf98bed364fdece9c589cdeac248b883e8efdb55 (patch)
tree8259b4815a51ccd37d3524a1529d87c263b7a798 /firefox.spec
parentDisabled JIT again for JS crashes on F24 and Rawhide (diff)
downloadlibrewolf-fedora-ff-df98bed364fdece9c589cdeac248b883e8efdb55.tar.gz
librewolf-fedora-ff-df98bed364fdece9c589cdeac248b883e8efdb55.tar.bz2
librewolf-fedora-ff-df98bed364fdece9c589cdeac248b883e8efdb55.zip
Disabled gcc6 null this optimization (rhbz#1328045)
Diffstat (limited to 'firefox.spec')
-rw-r--r--firefox.spec9
1 files changed, 8 insertions, 1 deletions
diff --git a/firefox.spec b/firefox.spec
index 9b2a043..56e0f0f 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -87,7 +87,7 @@
Summary: Mozilla Firefox Web browser
Name: firefox
Version: 45.0.2
-Release: 1%{?pre_tag}%{?dist}
+Release: 2%{?pre_tag}%{?dist}
URL: https://www.mozilla.org/projects/firefox/
License: MPLv1.1 or GPLv2+ or LGPLv2+
Group: Applications/Internet
@@ -446,6 +446,10 @@ MOZ_OPT_FLAGS=$(echo "$RPM_OPT_FLAGS" | %{__sed} -e 's/-Wall//')
# Explicitly force the hardening flags for Firefox so it passes the checksec test;
# See also https://fedoraproject.org/wiki/Changes/Harden_All_Packages
MOZ_OPT_FLAGS="$MOZ_OPT_FLAGS -Wformat-security -Wformat -Werror=format-security"
+%if 0%{?fedora} > 23
+# Disable null pointer gcc6 optimization in gcc6 (rhbz#1328045)
+MOZ_OPT_FLAGS="$MOZ_OPT_FLAGS -fno-delete-null-pointer-checks"
+%endif
# Use hardened build?
%if %{?hardened_build}
MOZ_OPT_FLAGS="$MOZ_OPT_FLAGS -fPIC -Wl,-z,relro -Wl,-z,now"
@@ -802,6 +806,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
#---------------------------------------------------------------------
%changelog
+* Mon Apr 18 2016 Martin Stransky <stransky@redhat.com> - 45.0.2-2
+- Disabled gcc6 null this optimization (rhbz#1328045)
+
* Mon Apr 11 2016 Martin Stransky <stransky@redhat.com> - 45.0.2-1
- New upstream (45.0.2)
bgstack15