git: ba56760a4789 - main - Revert "src.opts.mk: Enable LLDB by default globally"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 30 Jan 2026 01:13:02 UTC
The branch main has been updated by jrtc27:
URL: https://cgit.FreeBSD.org/src/commit/?id=ba56760a4789af06b8b7173700c1f14996ef9b5e
commit ba56760a4789af06b8b7173700c1f14996ef9b5e
Author: Jessica Clarke <jrtc27@FreeBSD.org>
AuthorDate: 2026-01-30 01:11:13 +0000
Commit: Jessica Clarke <jrtc27@FreeBSD.org>
CommitDate: 2026-01-30 01:11:13 +0000
Revert "src.opts.mk: Enable LLDB by default globally"
This breaks the riscv64 build; clearly the version we have in-tree is
not new enough to work. That or our build system needs tweaking. Either
way, we're not ready for this, and enabling it without testing was
misguided.
This reverts commit c59a47dc6c016dff74466cecb160459980a5d782.
---
share/mk/src.opts.mk | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/share/mk/src.opts.mk b/share/mk/src.opts.mk
index d6b07dc65045..415918e1d2ef 100644
--- a/share/mk/src.opts.mk
+++ b/share/mk/src.opts.mk
@@ -124,7 +124,6 @@ __DEFAULT_YES_OPTIONS = \
LEGACY_CONSOLE \
LLD \
LLD_BOOTSTRAP \
- LLDB \
LLVM_ASSERTIONS \
LLVM_BINUTILS \
LLVM_COV \
@@ -306,6 +305,11 @@ __DEFAULT_NO_OPTIONS+=FDT
__DEFAULT_YES_OPTIONS+=FDT
.endif
+.if ${__T:Mriscv64*} == ""
+__DEFAULT_YES_OPTIONS+=LLDB
+.else
+__DEFAULT_NO_OPTIONS+=LLDB
+.endif
# LIB32 is not supported on all 64-bit architectures.
.if (${__T:Maarch64*} != "" && ((defined(X_COMPILER_TYPE) && ${X_COMPILER_TYPE} != "gcc") || (!defined(X_COMPILER_TYPE) && ${COMPILER_TYPE} != "gcc"))) || ${__T} == "amd64" || ${__T} == "powerpc64"
__DEFAULT_YES_OPTIONS+=LIB32