aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJessica Clarke <jrtc27@FreeBSD.org>2026-01-30 01:11:13 +0000
committerJessica Clarke <jrtc27@FreeBSD.org>2026-01-30 01:11:13 +0000
commitba56760a4789af06b8b7173700c1f14996ef9b5e (patch)
tree74834d4fb4e2824a4de534e1c107387222c10a20
parentfdcd67be8274d237ae2c87d6475d9d34b440b8d8 (diff)
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.
-rw-r--r--share/mk/src.opts.mk6
1 files changed, 5 insertions, 1 deletions
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