Re: git: f53dc31bb3ef - main - src.opts.mk: Disable all of LLVM if C++ support is disabled.
Date: Wed, 16 Nov 2022 13:34:39 UTC
On 2022-11-15 at 22:23 EST, John Baldwin <jhb@FreeBSD.org> wrote:
>The branch main has been updated by jhb:
>
>URL: https://cgit.FreeBSD.org/src/commit/?id=f53dc31bb3ef387338a7678581e8c7d587da8d2c
>
>commit f53dc31bb3ef387338a7678581e8c7d587da8d2c
>Author: John Baldwin <jhb@FreeBSD.org>
>AuthorDate: 2022-11-16 03:21:20 +0000 Commit: John Baldwin
><jhb@FreeBSD.org>
>CommitDate: 2022-11-16 03:21:20 +0000
>
> src.opts.mk: Disable all of LLVM if C++ support is disabled.
This should probably be documented in src.conf(5).
>
> Reviewed by: imp, emaste
> Differential Revision: https://reviews.freebsd.org/D36891
>---
> 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 4c0913474ef7..ff8c359acc42 100644
>--- a/share/mk/src.opts.mk
>+++ b/share/mk/src.opts.mk
>@@ -380,6 +380,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
>
Thanks,
Matteo