Actually disable the LTO

This commit is contained in:
Martin Stransky 2020-10-16 08:19:34 +02:00
parent 95734d0993
commit 65fabb34c1

View File

@ -614,10 +614,12 @@ echo "export RANLIB=\"gcc-ranlib\"" >> .mozconfig
%endif %endif
%if 0%{?build_with_pgo} %if 0%{?build_with_pgo}
echo "ac_add_options MOZ_PGO=1" >> .mozconfig echo "ac_add_options MOZ_PGO=1" >> .mozconfig
# Temporary disabled due to GCC bug # Temporary disabled due to GCC bug
# Fixed by https://bugzilla.mozilla.org/show_bug.cgi?id=1671345 # Fixed by https://bugzilla.mozilla.org/show_bug.cgi?id=1671345
# Should be in Firefox 83 # Should be in Firefox 83
echo "ac_add_options --enable-lto" >> .mozconfig # echo "ac_add_options --enable-lto" >> .mozconfig
# PGO build doesn't work with ccache # PGO build doesn't work with ccache
export CCACHE_DISABLE=1 export CCACHE_DISABLE=1
%endif %endif