aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2026-03-04 15:06:26 +0000
committerEd Maste <emaste@FreeBSD.org>2026-03-04 19:10:48 +0000
commit858f53dd43ecb84cf2597229e9dbda2f242d9dd6 (patch)
tree753b2e1d4cd39475aa40f0f34af703ce9ed6a661
parent71e8b32415c2c70a95e89644782006f84de17f2d (diff)
Makefile.inc1: Don't force LLVM_BINUTILS off for cross-tools
Because of this setting we were still using ELF Tool Chain tools for buildworld. The sets of binary utilities are largely equivalent and this went unnoticed after commit 1cae7121c667 ("Enable LLVM_BINUTILS by default"). This was discovered recently because ELF Tool Chain objcopy produces standalone debug files without phdrs and this caused an issue with a 3rd party ELF parser [1]. Remove the forced setting so that we use LLVM's binutils to build the system. [1] https://sourceware.org/bugzilla/show_bug.cgi?id=33876 Reviewed by: imp, jhb Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D55650
-rw-r--r--Makefile.inc11
1 files changed, 0 insertions, 1 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index c4696abae8cd..8a1958902db5 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -808,7 +808,6 @@ XMAKE= ${BMAKE} \
TARGET=${TARGET} TARGET_ARCH=${TARGET_ARCH} \
MK_CLANG=${MK_CLANG_BOOTSTRAP} \
MK_LLDB=no \
- MK_LLVM_BINUTILS=no \
MK_TESTS=no
# kernel-tools stage