Disabled gcc6 NULL pointer optimization (rhbz#1311886) again

This commit is contained in:
Martin Stransky 2016-02-26 11:43:36 +01:00
parent 4dce6a949f
commit 63db5e05cc

View File

@ -64,7 +64,7 @@
Summary: Mozilla Thunderbird mail/newsgroup client Summary: Mozilla Thunderbird mail/newsgroup client
Name: thunderbird Name: thunderbird
Version: 38.6.0 Version: 38.6.0
Release: 5%{?dist} Release: 6%{?dist}
URL: http://www.mozilla.org/projects/thunderbird/ URL: http://www.mozilla.org/projects/thunderbird/
License: MPLv1.1 or GPLv2+ or LGPLv2+ License: MPLv1.1 or GPLv2+ or LGPLv2+
Group: Applications/Internet Group: Applications/Internet
@ -331,6 +331,8 @@ MOZ_OPT_FLAGS=$(echo "$RPM_OPT_FLAGS -fpermissive" | \
%{__sed} -e 's/-Wall//') %{__sed} -e 's/-Wall//')
#rhbz#1037353 #rhbz#1037353
MOZ_OPT_FLAGS="$MOZ_OPT_FLAGS -Wformat-security -Wformat -Werror=format-security" MOZ_OPT_FLAGS="$MOZ_OPT_FLAGS -Wformat-security -Wformat -Werror=format-security"
# Disable null pointer gcc6 optimization (rhbz#1311886)
MOZ_OPT_FLAGS="$MOZ_OPT_FLAGS -fno-delete-null-pointer-checks"
# Use hardened build? # Use hardened build?
%if %{?hardened_build} %if %{?hardened_build}
MOZ_OPT_FLAGS="$MOZ_OPT_FLAGS -fPIC -Wl,-z,relro -Wl,-z,now" MOZ_OPT_FLAGS="$MOZ_OPT_FLAGS -fPIC -Wl,-z,relro -Wl,-z,now"
@ -596,6 +598,10 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
#=============================================================================== #===============================================================================
%changelog %changelog
* Fri Feb 26 2016 Martin Stransky <stransky@redhat.com> - 38.6.0-6
- Disabled gcc6 NULL pointer optimization (rhbz#1311886) again
due to unfixed various TB parts
* Thu Feb 25 2016 Martin Stransky <stransky@redhat.com> - 38.6.0-5 * Thu Feb 25 2016 Martin Stransky <stransky@redhat.com> - 38.6.0-5
- Added upstream gcc6 fix (mozbz#1167145) - Added upstream gcc6 fix (mozbz#1167145)