Resolves: #2029268 Enable optimalization on s390x

This commit is contained in:
Jan Horak 2021-12-22 13:16:49 +01:00
parent d5460e6a38
commit a1135e16e2
2 changed files with 6 additions and 3 deletions

View File

@ -129,7 +129,7 @@ end}
Summary: Mozilla Firefox Web browser
Name: firefox
Version: 91.4.0
Release: 2%{?dist}
Release: 3%{?dist}
URL: https://www.mozilla.org/firefox/
License: MPLv1.1 or GPLv2+ or LGPLv2+
%if 0%{?rhel} == 9
@ -482,7 +482,7 @@ echo "ac_add_options --disable-optimize" >> .mozconfig
%else
%global optimize_flags "-g -O2"
%ifarch s390x
%global optimize_flags "-g -O1"
%global optimize_flags "-g -O2"
%endif
%ifarch ppc64le aarch64
%global optimize_flags "-g -O2"
@ -1249,6 +1249,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
#---------------------------------------------------------------------
%changelog
* Wed Dec 22 2021 Jan Horak <jhorak@redhat.com> - 91.4.0-3
- Enable optimalization on s390x
* Mon Dec 13 2021 Jan Horak <jhorak@redhat.com> - 91.4.0-2
- Added fix for failing addons signatures.

View File

@ -7,5 +7,5 @@ badfuncs:
# We don't plan to build Firefox with the LTO because it brings more problems
# than benefits to the package.
annocheck:
- rhel-policy: --ignore-unknown --verbose --skip-lto
- rhel-policy: --ignore-unknown --verbose --skip-lto --skip-cf-protection --skip-property-note