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

This commit is contained in:
Mauro Balades
2024-07-19 22:01:55 +02:00
parent 16f7b06cec
commit 93ba4e0638
3 changed files with 13 additions and 8 deletions

View File

@@ -19,6 +19,11 @@ if ! test "$ZEN_CROSS_COMPILING"; then
export STRIP_FLAGS="--strip-debug --strip-unneeded"
fi
if test "$ZEN_RELEASE"; then
export MOZ_PGO=1
ac_add_options MOZ_PGO=1
fi
# Disable telemetry and tracking
mk_add_options MOZ_TELEMETRY_REPORTING=
mk_add_options MOZ_DATA_REPORTING=