aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2013-12-17 18:30:37 +0000
committerEd Maste <emaste@FreeBSD.org>2013-12-17 18:30:37 +0000
commit7c27d02398c04cb2dad6336dc76d5141ea92ca3e (patch)
treef600ef8e959366fa01b22079ac1a3cd1d36c8d91 /share
parent65f05eeb3d0669b49ffa5389c5b4a73bd5e331d4 (diff)
Notes
Diffstat (limited to 'share')
-rw-r--r--share/mk/bsd.own.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/share/mk/bsd.own.mk b/share/mk/bsd.own.mk
index c99ab84a72f1..6aaf32070d67 100644
--- a/share/mk/bsd.own.mk
+++ b/share/mk/bsd.own.mk
@@ -552,10 +552,6 @@ MK_CLANG_EXTRAS:= no
MK_CLANG_FULL:= no
.endif
-.if ${MK_CLANG_IS_CC} == "no"
-MK_LLDB:= no
-.endif
-
.if defined(NO_TESTS)
# This should be handled above along the handling of all other NO_* options.
# However, the above is broken when WITH_*=yes are passed to make(1) as
@@ -650,6 +646,10 @@ MK_${var}:= no
.endif
.endfor
+.if !${COMPILER_FEATURES:Mc++11}
+MK_LLDB:= no
+.endif
+
.if ${MK_CTF} != "no"
CTFCONVERT_CMD= ${CTFCONVERT} ${CTFFLAGS} ${.TARGET}
.elif defined(.PARSEDIR) || (defined(MAKE_VERSION) && ${MAKE_VERSION} >= 5201111300)