From 2fd0935bf541be4ab5f82788bd5fcb5ccb188745 Mon Sep 17 00:00:00 2001 From: "mr. m" Date: Mon, 5 Jan 2026 18:37:30 +0100 Subject: [PATCH] chore: Mark ld64 as known for automated macos builds, b=no-bug, c=configs --- configs/macos/mozconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/macos/mozconfig b/configs/macos/mozconfig index c617bdabb..036b93fe0 100644 --- a/configs/macos/mozconfig +++ b/configs/macos/mozconfig @@ -47,4 +47,7 @@ else fi # Keep using ld64 on PGO/LTO builds because of performance regressions when using lld. +# Mozilla sets "MOZ_LD64_KNOWN_GOOD" to true when they do automated builds with PGO/LTO on macOS. +# See https://searchfox.org/firefox-main/rev/e61d59b5c9a651fd7bf28043f87c0dc669833496/build/moz.configure/lto-pgo.configure#261 +export MOZ_LD64_KNOWN_GOOD=1 ac_add_options --enable-linker=ld64