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

@@ -53,11 +53,6 @@ if test "$ZEN_RELEASE"; then
# Done by vlad, if something fails, it's his fault
ac_add_options --disable-default-browser-agent
if ! test "$ZEN_DISABLE_LTO"; then
export MOZ_LTO=cross,thin
ac_add_options --enable-lto=cross,thin
fi
ac_add_options --enable-jemalloc
mk_add_options MOZILLA_OFFICIAL=1