8402f6341e
LLDB depends on libclang as it uses Clang as the expression parser.
Previously setting WITHOUT_CLANG but leaving LLDB enabled (as default)
resulted in a build failure.
Users who set WITHOUT_CLANG in order to reduce build time or size
might want to set WITHOUT_LLDB in addition to WITHOUT_CLANG, or use
WITHOUT_TOOLCHAIN instead.
PR: 260993
Reported by: eugen
Reviewed by: dim
MFC after: 3 days
Sponsored by: The FreeBSD Foundation
(cherry picked from commit adc88b9c01
)
16 lines
250 B
Makefile
16 lines
250 B
Makefile
# $FreeBSD$
|
|
|
|
.include <src.opts.mk>
|
|
|
|
# These have to be built in order.
|
|
SUBDIR= libllvm
|
|
.if ${MK_CLANG} != "no" || ${MK_LLDB} != "no"
|
|
SUBDIR+= libclang
|
|
SUBDIR+= headers
|
|
.endif
|
|
.if ${MK_LLDB} != "no"
|
|
SUBDIR+= liblldb
|
|
.endif
|
|
|
|
.include <bsd.subdir.mk>
|