Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/mk Unbreak src/tools usage of C++.
details: https://anonhg.NetBSD.org/src/rev/b45a9542b024
branches: trunk
changeset: 790985:b45a9542b024
user: joerg <joerg%NetBSD.org@localhost>
date: Tue Oct 29 16:11:46 2013 +0000
description:
Unbreak src/tools usage of C++.
diffstat:
share/mk/bsd.hostlib.mk | 4 +++-
share/mk/bsd.hostprog.mk | 4 +++-
share/mk/bsd.own.mk | 3 ++-
3 files changed, 8 insertions(+), 3 deletions(-)
diffs (62 lines):
diff -r b5d83d227683 -r b45a9542b024 share/mk/bsd.hostlib.mk
--- a/share/mk/bsd.hostlib.mk Tue Oct 29 16:11:15 2013 +0000
+++ b/share/mk/bsd.hostlib.mk Tue Oct 29 16:11:46 2013 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.hostlib.mk,v 1.16 2011/09/10 16:57:35 apb Exp $
+# $NetBSD: bsd.hostlib.mk,v 1.17 2013/10/29 16:11:46 joerg Exp $
.include <bsd.init.mk>
.include <bsd.sys.mk>
@@ -8,10 +8,12 @@
##### Default values
CFLAGS+= ${COPTS}
HOST_MKDEP?= CC=${HOST_CC:Q} mkdep
+HOST_MKDEPCXX?= CC=${HOST_CXX:Q} mkdep
MKDEP_SUFFIXES?= .o .lo
# Override these:
MKDEP:= ${HOST_MKDEP}
+MKDEPCXX:= ${HOST_MKDEPCXX}
.if ${TOOLCHAIN_MISSING} == "no" || defined(EXTERNAL_TOOLCHAIN)
OBJHOSTMACHINE= # set
diff -r b5d83d227683 -r b45a9542b024 share/mk/bsd.hostprog.mk
--- a/share/mk/bsd.hostprog.mk Tue Oct 29 16:11:15 2013 +0000
+++ b/share/mk/bsd.hostprog.mk Tue Oct 29 16:11:46 2013 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.hostprog.mk,v 1.71 2013/06/14 16:10:02 tsutsui Exp $
+# $NetBSD: bsd.hostprog.mk,v 1.72 2013/10/29 16:11:46 joerg Exp $
# @(#)bsd.prog.mk 8.2 (Berkeley) 4/2/94
.include <bsd.init.mk>
@@ -82,11 +82,13 @@
LIBRUMPFS_UFS?= /usr/lib/librumpfs_ufs.a
HOST_MKDEP?= CC=${HOST_CC:Q} mkdep
+HOST_MKDEPCXX?= CC=${HOST_CXX:Q} mkdep
MKDEP_SUFFIXES?= .lo .ln
# Override these:
INSTALL:= ${INSTALL:NSTRIP=*}
MKDEP:= ${HOST_MKDEP}
+MKDEPCXX:= ${HOST_MKDEPCXX}
.if ${TOOLCHAIN_MISSING} == "no" || defined(EXTERNAL_TOOLCHAIN)
OBJHOSTMACHINE= # set
diff -r b5d83d227683 -r b45a9542b024 share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk Tue Oct 29 16:11:15 2013 +0000
+++ b/share/mk/bsd.own.mk Tue Oct 29 16:11:46 2013 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.own.mk,v 1.754 2013/10/28 01:47:13 mrg Exp $
+# $NetBSD: bsd.own.mk,v 1.755 2013/10/29 16:11:46 joerg Exp $
# This needs to be before bsd.init.mk
.if defined(BSD_MK_COMPAT_FILE)
@@ -262,6 +262,7 @@
.endif # EXTERNAL_TOOLCHAIN # }
HOST_MKDEP= ${TOOLDIR}/bin/${_TOOL_PREFIX}host-mkdep
+HOST_MKDEPCXX= ${TOOLDIR}/bin/${_TOOL_PREFIX}host-mkdep
DBSYM= ${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-dbsym
ELF2AOUT= ${TOOLDIR}/bin/${_TOOL_PREFIX}m68k-elf2aout
Home |
Main Index |
Thread Index |
Old Index