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