From 93cdeb4aec73678ed85788124ff41ca7586a215a Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Fri, 23 Sep 2016 13:21:29 +0000 Subject: [PATCH] Force LLVM_LIBUNWIND off if we don't have a C++11 compiler Tested by: bde Differential Revision: https://reviews.freebsd.org/D7746 --- share/mk/src.opts.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/share/mk/src.opts.mk b/share/mk/src.opts.mk index 59f826cc9d1..bec699fe12a 100644 --- a/share/mk/src.opts.mk +++ b/share/mk/src.opts.mk @@ -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