From beb55132244ca80d6fd0958fd68a0071aac0d59f Mon Sep 17 00:00:00 2001 From: Martin Stransky Date: Thu, 15 Oct 2020 17:55:21 +0200 Subject: [PATCH 1/2] Fix LTO worakround --- firefox.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firefox.spec b/firefox.spec index 2228cee..81a47ca 100644 --- a/firefox.spec +++ b/firefox.spec @@ -615,7 +615,7 @@ echo "export RANLIB=\"gcc-ranlib\"" >> .mozconfig %if 0%{?build_with_pgo} echo "ac_add_options MOZ_PGO=1" >> .mozconfig # Temporary disabled due to GCC bug -%if 0%{?fedora} > 32 +%if 0%{?fedora} < 33 echo "ac_add_options --enable-lto" >> .mozconfig %endif # PGO build doesn't work with ccache From 05688c934d41e4c8c19cdf947deeaae7d10a7599 Mon Sep 17 00:00:00 2001 From: Martin Stransky Date: Thu, 15 Oct 2020 17:56:23 +0200 Subject: [PATCH 2/2] Added a comment to spec file --- firefox.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/firefox.spec b/firefox.spec index 81a47ca..27bd850 100644 --- a/firefox.spec +++ b/firefox.spec @@ -615,6 +615,7 @@ echo "export RANLIB=\"gcc-ranlib\"" >> .mozconfig %if 0%{?build_with_pgo} echo "ac_add_options MOZ_PGO=1" >> .mozconfig # Temporary disabled due to GCC bug +# Should be fixed in Firefox 83 %if 0%{?fedora} < 33 echo "ac_add_options --enable-lto" >> .mozconfig %endif