summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2013-09-20 01:52:02 +0000
committeremaste <emaste@FreeBSD.org>2013-09-20 01:52:02 +0000
commit51ba585f88949f7d515cf6be9c32aa678838a67c (patch)
tree03c4639d8dd72b5865e528b3705c2061add52e92 /share
parent07c75ee46c7f2c2fa93ef848a944b6c054d22168 (diff)
downloadFreeBSD-src-51ba585f88949f7d515cf6be9c32aa678838a67c.zip
FreeBSD-src-51ba585f88949f7d515cf6be9c32aa678838a67c.tar.gz
Add LLDB bmake infrastructure
This connects LLDB to the build, but it is disabled by default. Add WITH_LLDB= to src.conf to build it. Note that LLDB requires a C++11 compiler so is disabled on platforms using GCC. Approved by: re (gjb) Sponsored by: DARPA, AFRL
Diffstat (limited to 'share')
-rw-r--r--share/mk/bsd.own.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/share/mk/bsd.own.mk b/share/mk/bsd.own.mk
index 252460f..b319824 100644
--- a/share/mk/bsd.own.mk
+++ b/share/mk/bsd.own.mk
@@ -381,6 +381,7 @@ __DEFAULT_NO_OPTIONS = \
LIBICONV_COMPAT \
INSTALL_AS_USER \
LDNS_UTILS \
+ LLDB \
NMTREE \
NAND \
OFED \
@@ -590,6 +591,10 @@ MK_CLANG_FULL:= no
MK_CLANG_IS_CC:= no
.endif
+.if ${MK_CLANG_IS_CC} == "no"
+MK_LLDB:= no
+.endif
+
#
# Set defaults for the MK_*_SUPPORT variables.
#
OpenPOWER on IntegriCloud