Refactor build configurations to standardize runner environments and update LTO settings in mozconfig

This commit is contained in:
mr. M
2025-01-08 21:19:23 +01:00
parent 46c8d6d3e4
commit 6c9fb9b3bb
6 changed files with 7 additions and 10 deletions

View File

@@ -56,8 +56,9 @@ if test "$ZEN_RELEASE"; then
if ! test "$ZEN_DISABLE_LTO"; then
# only enable full LTO when ZEN_RELEASE_BRANCH is 'release'
if test "$ZEN_RELEASE_BRANCH" = "release"; then
export MOZ_LTO=cross,full
ac_add_options --enable-lto=cross,full
# TODO: make it "full" once we have the resources to build it
export MOZ_LTO=cross,thin
ac_add_options --enable-lto=cross,thin
else
export MOZ_LTO=cross,thin
ac_add_options --enable-lto=cross,thin