Force LLVM_LIBUNWIND off if we don't have a C++11 compiler

Tested by:	bde
Differential Revision:	https://reviews.freebsd.org/D7746
This commit is contained in:
Ed Maste 2016-09-23 13:21:29 +00:00
parent 68f6e19eed
commit 93cdeb4aec
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=306265

View File

@ -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