Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Dec 2013 18:30:37 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r259523 - head/share/mk
Message-ID:  <201312171830.rBHIUbCi090499@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Tue Dec 17 18:30:37 2013
New Revision: 259523
URL: http://svnweb.freebsd.org/changeset/base/259523

Log:
  Require a C++11 compiler to build LLDB
  
  In practice the old test (using MK_CLANG_IS_CC) is similar, but
  COMPILER_FEATURES provides the information we actually want to test.
  
  Sponsored by:	DARPA, AFRL

Modified:
  head/share/mk/bsd.own.mk

Modified: head/share/mk/bsd.own.mk
==============================================================================
--- head/share/mk/bsd.own.mk	Tue Dec 17 17:31:16 2013	(r259522)
+++ head/share/mk/bsd.own.mk	Tue Dec 17 18:30:37 2013	(r259523)
@@ -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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312171830.rBHIUbCi090499>