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

View File

@ -289,6 +289,10 @@ MK_${var}:= no
# Force some options off if their dependencies are off. # Force some options off if their dependencies are off.
# Order is somewhat important. # Order is somewhat important.
# #
.if !${COMPILER_FEATURES:Mc++11}
MK_LLVM_LIBUNWIND:= no
.endif
.if ${MK_LIBPTHREAD} == "no" .if ${MK_LIBPTHREAD} == "no"
MK_LIBTHR:= no MK_LIBTHR:= no
.endif .endif