Enable LTO (Link Time Optimization) in platform-specific mozconfig files

This commit is contained in:
mr. M
2024-12-22 08:31:51 +01:00
parent 1e927834b3
commit a7b486de56
4 changed files with 20 additions and 5 deletions

View File

@@ -11,6 +11,11 @@ ac_add_options MOZ_PGO=1
ac_add_options --enable-clang-plugin
if ! test "$ZEN_DISABLE_LTO"; then
export MOZ_LTO=cross,thin
ac_add_options --enable-lto=cross,thin
fi
if test "$SURFER_COMPAT" = "x86_64"; then
ac_add_options --target=x86_64-apple-darwin