summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2020-10-07 10:31:51 +0200
committerMartin Stransky <stransky@redhat.com>2020-10-07 10:31:51 +0200
commit3af14d6d2b50f26c23a2942e32b12e43350c35e1 (patch)
treed26dc5567e975c1f259abe898d01213d84c1a8ac
parentMerge branch 'master' of ssh://pkgs.fedoraproject.org/rpms/firefox (diff)
downloadlibrewolf-fedora-ff-3af14d6d2b50f26c23a2942e32b12e43350c35e1.tar.gz
librewolf-fedora-ff-3af14d6d2b50f26c23a2942e32b12e43350c35e1.tar.bz2
librewolf-fedora-ff-3af14d6d2b50f26c23a2942e32b12e43350c35e1.zip
Temporary disable LTO on Fedora < 33 due to GCC bug
-rw-r--r--firefox.spec6
1 files changed, 3 insertions, 3 deletions
diff --git a/firefox.spec b/firefox.spec
index 18485f2..7bf30db 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -37,11 +37,8 @@
# Build PGO builds on Wayland backend
%global pgo_wayland 1
%endif
-%if 0%{?fedora} > 30
%global wayland_backend_default 1
-%endif
%if 0%{?flatpak}
-%global wayland_backend_default 1
%global build_with_pgo 0
%endif
# Big endian platforms
@@ -611,7 +608,10 @@ echo "export RANLIB=\"gcc-ranlib\"" >> .mozconfig
%endif
%if 0%{?build_with_pgo}
echo "ac_add_options MOZ_PGO=1" >> .mozconfig
+# Temporary disabled due to GCC bug
+%if 0%{?fedora} > 32
echo "ac_add_options --enable-lto" >> .mozconfig
+%endif
# PGO build doesn't work with ccache
export CCACHE_DISABLE=1
%endif
bgstack15