From a09dba9f972090e142455d8aeb5f3f0dfd7419f5 Mon Sep 17 00:00:00 2001 From: Martin Stransky Date: Thu, 15 Oct 2020 18:58:35 +0200 Subject: [PATCH] LTO build fix --- firefox.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/firefox.spec b/firefox.spec index 2228cee..e9cb490 100644 --- a/firefox.spec +++ b/firefox.spec @@ -615,9 +615,9 @@ 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 +# Fixed by https://bugzilla.mozilla.org/show_bug.cgi?id=1671345 +# Should be in Firefox 83 echo "ac_add_options --enable-lto" >> .mozconfig -%endif # PGO build doesn't work with ccache export CCACHE_DISABLE=1 %endif