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
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to