From 3af14d6d2b50f26c23a2942e32b12e43350c35e1 Mon Sep 17 00:00:00 2001 From: Martin Stransky Date: Wed, 7 Oct 2020 10:31:51 +0200 Subject: [PATCH] Temporary disable LTO on Fedora < 33 due to GCC bug --- firefox.spec | 6 +++--- 1 file 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