From 7d82731e4311880845b0109484df6562ab0cd213 Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Wed, 1 Apr 2026 14:27:05 -0400 Subject: [PATCH] src.opts.mk: !CROSS_COMPILER implies !LLVM_BINUTILS_BOOTSTRAP This fixes the build when WITHOUT_CROSS_COMPILER is set. Reported by: fuz, vishwin Fixes: 17494c6e6b7d ("build: Boostrap LLVM_BINUTILS for cross-tools") Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D56219 --- share/mk/src.opts.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/share/mk/src.opts.mk b/share/mk/src.opts.mk index 47538c138eb..5e59f476a74 100644 --- a/share/mk/src.opts.mk +++ b/share/mk/src.opts.mk @@ -495,6 +495,7 @@ MK_ZONEINFO_LEAPSECONDS_SUPPORT:= no MK_CLANG_BOOTSTRAP:= no MK_ELFTOOLCHAIN_BOOTSTRAP:= no MK_LLD_BOOTSTRAP:= no +MK_LLVM_BINUTILS_BOOTSTRAP:= no .endif .if ${MK_TOOLCHAIN} == "no"