https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260993

--- Comment #11 from Ed Maste <[email protected]> ---
Testing this patch:

commit f8cb4720bfc67eeb033585d85a6323902ece7d1e (HEAD -> PR260993,
github/PR260993)
Author: Ed Maste <[email protected]>
Date:   Fri Jan 7 10:34:08 2022 -0500

    Build libclang if LLDB is enabled

    LLDB depends on libclang as it uses Clang as the expression parser.
    Previously setting WITHOUT_CLANG but leaving LLDB enabled resulted in
    a build failure.  Users who set WITHOUT_CLANG to reduce build time or
    size may want to set WITHOUT_LLDB as well, or use WITHOUT_TOOLCHAIN
    instead.

    PR:             260993

diff --git a/lib/clang/Makefile b/lib/clang/Makefile
index df4aa01a2653..cbb2c2a7175f 100644
--- a/lib/clang/Makefile
+++ b/lib/clang/Makefile
@@ -4,7 +4,7 @@

 # These have to be built in order.
 SUBDIR=                libllvm
-.if ${MK_CLANG} != "no"
+.if ${MK_CLANG} != "no" || ${MK_LLDB} != "no"
 SUBDIR+=       libclang
 SUBDIR+=       headers
 .endif

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to