Actually disable the LTO

This commit is contained in:
Martin Stransky 2020-10-16 08:19:34 +02:00
parent 95734d0993
commit 65fabb34c1
1 changed files with 3 additions and 1 deletions

View File

@ -614,10 +614,12 @@ 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
# Fixed by https://bugzilla.mozilla.org/show_bug.cgi?id=1671345
# 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
export CCACHE_DISABLE=1
%endif