chore: Update alpha-build.sh script to handle xvfb-run not found and disable LTO when cross-compiling

This commit is contained in:
Mauro Balades
2024-07-20 11:22:22 +02:00
parent 3f7e2bf1c7
commit 57f8a8fccd

View File

@@ -61,9 +61,9 @@ if test "$ZEN_RELEASE"; then
ac_add_options --disable-rust-tests
if ! test "$ZEN_CROSS_COMPILING"; then
export MOZ_LTO=full
ac_add_options MOZ_LTO=full
ac_add_options --enable-lto=full
#export MOZ_LTO=full
#ac_add_options MOZ_LTO=full
#ac_add_options --enable-lto=full
fi
export MOZ_PGO=1