commit 0aab37cd44cf33512ca19dd881dbb688ba7aca84
parent 157dff3e271187a6644e9b21f02ba7c150956ccf
Author: Mike Hommey <mh+mozilla@glandium.org>
Date: Thu, 6 Nov 2025 03:13:41 +0000
Bug 1998574 - Properly propagate compiler in check_and_add_linker_*flag. r=firefox-build-system-reviewers,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D271530
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/build/moz.configure/compile-checks.configure b/build/moz.configure/compile-checks.configure
@@ -554,6 +554,7 @@ def check_and_add_linker_flag(flag, compiler=None, when=None, check=True):
flag,
linker_flags,
[flag],
+ compiler=compiler,
when=when,
check=check,
mode="link",
@@ -572,6 +573,7 @@ def check_and_add_linker_optimize_flag(flag, compiler=None, when=None, check=Tru
flag,
linker_optimize_flags,
[flag],
+ compiler=compiler,
when=when,
check=check,
mode="link",