svn commit: r306265 - head/share/mk

Ed Maste emaste at FreeBSD.org
Fri Sep 23 13:21:30 UTC 2016


Author: emaste
Date: Fri Sep 23 13:21:29 2016
New Revision: 306265
URL: https://svnweb.freebsd.org/changeset/base/306265

Log:
  Force LLVM_LIBUNWIND off if we don't have a C++11 compiler
  
  Tested by:	bde
  Differential Revision:	https://reviews.freebsd.org/D7746

Modified:
  head/share/mk/src.opts.mk

Modified: head/share/mk/src.opts.mk
==============================================================================
--- head/share/mk/src.opts.mk	Fri Sep 23 13:18:59 2016	(r306264)
+++ head/share/mk/src.opts.mk	Fri Sep 23 13:21:29 2016	(r306265)
@@ -289,6 +289,10 @@ MK_${var}:=	no
 # Force some options off if their dependencies are off.
 # Order is somewhat important.
 #
+.if !${COMPILER_FEATURES:Mc++11}
+MK_LLVM_LIBUNWIND:=	no
+.endif
+
 .if ${MK_LIBPTHREAD} == "no"
 MK_LIBTHR:=	no
 .endif


More information about the svn-src-head mailing list