chore: Enable PGO (Profile-Guided Optimization) for Linux builds

This commit is contained in:
Mauro Balades
2024-07-25 15:33:42 +02:00
parent f45b1ec317
commit 005398a20d

View File

@@ -27,7 +27,8 @@ if test "$ZEN_RELEASE"; then
# PGO may cause link errors on windows!
if ! test "$ZEN_CROSS_COMPILING"; then
# WE ARE JUST SUPPORTING PGO FOR LINUX!
export MOZ_PGO=1
ac_add_options MOZ_PGO=1
fi
export CFLAGS="-O2 -msse3 -mssse3 -msse4.1 -msse4.2 -mavx -maes"