From c59a47dc6c016dff74466cecb160459980a5d782 Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Thu, 22 Jan 2026 14:10:12 -0500 Subject: [PATCH] src.opts.mk: Enable LLDB by default globally Previously it was enabled for all architectures except but RISC-V. Upstream made significant progress on RISC-V support over the last year[1], and although there's still some FreeBSD-specific work to do we can start building it now. [1] https://jonasdevlieghere.com/post/lldb-2025/ Sponsored by: The FreeBSD Foundation --- share/mk/src.opts.mk | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/share/mk/src.opts.mk b/share/mk/src.opts.mk index 415918e1d2e..d6b07dc6504 100644 --- a/share/mk/src.opts.mk +++ b/share/mk/src.opts.mk @@ -124,6 +124,7 @@ __DEFAULT_YES_OPTIONS = \ LEGACY_CONSOLE \ LLD \ LLD_BOOTSTRAP \ + LLDB \ LLVM_ASSERTIONS \ LLVM_BINUTILS \ LLVM_COV \ @@ -305,11 +306,6 @@ __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