Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/mk define a HOST_LINK.cc always.



details:   https://anonhg.NetBSD.org/src/rev/100e02534200
branches:  trunk
changeset: 790900:100e02534200
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sat Oct 26 03:26:57 2013 +0000

description:
define a HOST_LINK.cc always.

diffstat:

 share/mk/bsd.sys.mk |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (21 lines):

diff -r 1cd3b1b0adc4 -r 100e02534200 share/mk/bsd.sys.mk
--- a/share/mk/bsd.sys.mk       Fri Oct 25 22:19:41 2013 +0000
+++ b/share/mk/bsd.sys.mk       Sat Oct 26 03:26:57 2013 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.sys.mk,v 1.227 2013/09/12 15:36:16 joerg Exp $
+#      $NetBSD: bsd.sys.mk,v 1.228 2013/10/26 03:26:57 mrg Exp $
 #
 # Build definitions used for NetBSD source tree builds.
 
@@ -150,8 +150,9 @@
 HOST_CFLAGS?=  -O
 HOST_COMPILE.c?=${HOST_CC} ${HOST_CFLAGS} ${HOST_CPPFLAGS} -c
 HOST_COMPILE.cc?=      ${HOST_CXX} ${HOST_CXXFLAGS} ${HOST_CPPFLAGS} -c
-.if defined(HOSTPROG_CXX) 
-HOST_LINK.c?=  ${HOST_CXX} ${HOST_CXXFLAGS} ${HOST_CPPFLAGS} ${HOST_LDFLAGS}
+HOST_LINK.cc?=  ${HOST_CXX} ${HOST_CXXFLAGS} ${HOST_CPPFLAGS} ${HOST_LDFLAGS}
+.if defined(HOSTPROG_CXX)
+HOST_LINK.c?=   ${HOST_LINK.cc}
 .else
 HOST_LINK.c?=  ${HOST_CC} ${HOST_CFLAGS} ${HOST_CPPFLAGS} ${HOST_LDFLAGS}
 .endif



Home | Main Index | Thread Index | Old Index