chore: Update build workflows and mozconfig files

This commit is contained in:
Mauro Balades
2024-07-21 14:27:21 +02:00
parent 542d631edd
commit b9e008afbe
4 changed files with 31 additions and 7 deletions

View File

@@ -61,7 +61,12 @@ if test "$ZEN_RELEASE"; then
export MOZ_LTO=full
ac_add_options MOZ_LTO=full
ac_add_options --enable-lto=full
ac_add_options --disable-jemalloc
if test "$ZEN_CROSS_COMPILING"; then
ac_add_options --disable-jemalloc
else
ac_add_options --enable-jemalloc
fi
mk_add_options MOZILLA_OFFICIAL=1
MOZILLA_OFFICIAL=1
@@ -77,8 +82,10 @@ if test "$ZEN_RELEASE"; then
ac_add_options RUSTC_OPT_LEVEL="3"
# PGO may cause link errors on windows!
export MOZ_PGO=1
ac_add_options MOZ_PGO=1
if ! test "$ZEN_CROSS_COMPILING"; then
export MOZ_PGO=1
ac_add_options MOZ_PGO=1
fi
mk_add_options 'export RUSTC_WRAPPER=/home/runner/.mozbuild/sccache/sccache'
mk_add_options 'export CCACHE_CPP2=yes'