From 005398a20d9bd08e37e0f406d228b324f72e4e5d Mon Sep 17 00:00:00 2001 From: Mauro Balades Date: Thu, 25 Jul 2024 15:33:42 +0200 Subject: [PATCH] chore: Enable PGO (Profile-Guided Optimization) for Linux builds --- configs/linux/mozconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configs/linux/mozconfig b/configs/linux/mozconfig index 44609fb95..f90b2e9e6 100644 --- a/configs/linux/mozconfig +++ b/configs/linux/mozconfig @@ -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"