Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/mk If clang is requested for i386, amd64 or eARM, also...
details: https://anonhg.NetBSD.org/src/rev/dde8e7431050
branches: trunk
changeset: 329618:dde8e7431050
user: joerg <joerg%NetBSD.org@localhost>
date: Fri May 30 18:39:29 2014 +0000
description:
If clang is requested for i386, amd64 or eARM, also build libc++.
diffstat:
share/mk/bsd.own.mk | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
diffs (26 lines):
diff -r e9f5c5abb271 -r dde8e7431050 share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk Fri May 30 18:33:30 2014 +0000
+++ b/share/mk/bsd.own.mk Fri May 30 18:39:29 2014 +0000
@@ -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 @@
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.
#
Home |
Main Index |
Thread Index |
Old Index