git: 8975a501bb23 - stable/13 - src.opts.mk: Disable all of LLVM if C++ support is disabled.

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Tue, 24 Jan 2023 05:43:20 UTC
The branch stable/13 has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=8975a501bb236d1edd69650014627358b0dbf8aa

commit 8975a501bb236d1edd69650014627358b0dbf8aa
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-11-16 03:21:20 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2023-01-24 05:14:11 +0000

    src.opts.mk: Disable all of LLVM if C++ support is disabled.
    
    Reviewed by:    imp, emaste
    Differential Revision:  https://reviews.freebsd.org/D36891
    
    (cherry picked from commit f53dc31bb3ef387338a7678581e8c7d587da8d2c)
---
 share/mk/src.opts.mk | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/share/mk/src.opts.mk b/share/mk/src.opts.mk
index 90405ce4b80c..b6b69869c8bb 100644
--- a/share/mk/src.opts.mk
+++ b/share/mk/src.opts.mk
@@ -393,6 +393,9 @@ MK_KERBEROS_SUPPORT:=	no
 
 .if ${MK_CXX} == "no"
 MK_CLANG:=	no
+MK_LLD:=	no
+MK_LLDB:=	no
+MK_LLVM_BINUTILS:= no
 MK_GOOGLETEST:=	no
 MK_OFED:=	no
 MK_OPENMP:=	no