Fix LTO flags for Clang compilation and adjust compact mode CSS margins

This commit is contained in:
mr. M
2024-12-21 22:39:59 +01:00
parent ae5c164179
commit 7a0fcc3f35
2 changed files with 11 additions and 2 deletions

View File

@@ -41,6 +41,10 @@ elif test "$ZEN_RELEASE"; then
export MOZ_PGO=1
ac_add_options MOZ_PGO=1
# Override the default LTO flags because clang++ LITERALLY SEGFAULTS while compiling with -flto=thin... How unfortunate :c
export MOZ_LTO=cross
ac_add_options --enable-lto=cross
# Optimization flags for general release
ac_add_options --enable-wasm-avx
ac_add_options --enable-optimize="-O3 -march=x86-64-v3 -msse3 -mssse3 -msse4.1 -msse4.2 -mavx -maes -mpopcnt -mpclmul"