Module Name: src Committed By: joerg Date: Fri May 30 18:39:29 UTC 2014
Modified Files: src/share/mk: bsd.own.mk Log Message: If clang is requested for i386, amd64 or eARM, also build libc++. To generate a diff of this commit: cvs rdiff -u -r1.811 -r1.812 src/share/mk/bsd.own.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/share/mk/bsd.own.mk diff -u src/share/mk/bsd.own.mk:1.811 src/share/mk/bsd.own.mk:1.812 --- src/share/mk/bsd.own.mk:1.811 Fri May 30 18:31:58 2014 +++ src/share/mk/bsd.own.mk Fri May 30 18:39:29 2014 @@ -1,4 +1,4 @@ -# $NetBSD: bsd.own.mk,v 1.811 2014/05/30 18:31:58 joerg Exp $ +# $NetBSD: bsd.own.mk,v 1.812 2014/05/30 18:39:29 joerg Exp $ # This needs to be before bsd.init.mk .if defined(BSD_MK_COMPAT_FILE) @@ -1083,6 +1083,16 @@ MKMAN:= no MKNLS:= no .endif +.if !empty(MACHINE_ARCH:Mearm*) +_NEEDS_LIBCXX.${MACHINE_ARCH}= yes +.endif +_NEEDS_LIBCXX.i386= yes +_NEEDS_LIBCXX.x86_64= yes + +.if ${MKLLVM} == "yes" && ${_NEEDS_LIBCXX.${MACHINE_ARCH}:Uno} == "yes" +MKLIBCXX:= yes +.endif + # # install(1) parameters. #