Source-Changes-HG archive

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

[src/trunk]: src/share/mk Don't assume that EXTERNAL_TOOLCHAIN is gcc. HAVE_G...



details:   https://anonhg.NetBSD.org/src/rev/3dbb4ead3152
branches:  trunk
changeset: 361741:3dbb4ead3152
user:      joerg <joerg%NetBSD.org@localhost>
date:      Wed May 09 21:26:59 2018 +0000

description:
Don't assume that EXTERNAL_TOOLCHAIN is gcc. HAVE_GCC can and should be
defined appropiately if it is an external GCC.

diffstat:

 share/mk/bsd.own.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 352926b84e1d -r 3dbb4ead3152 share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk       Wed May 09 20:23:35 2018 +0000
+++ b/share/mk/bsd.own.mk       Wed May 09 21:26:59 2018 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.own.mk,v 1.1060 2018/05/09 13:19:27 joerg Exp $
+#      $NetBSD: bsd.own.mk,v 1.1061 2018/05/09 21:26:59 joerg Exp $
 
 # This needs to be before bsd.init.mk
 .if defined(BSD_MK_COMPAT_FILE)
@@ -583,7 +583,7 @@
 TOOL_FC.false=         false
 TOOL_OBJC.false=       false
 
-AVAILABLE_COMPILER?=   ${HAVE_PCC:Dpcc} ${HAVE_LLVM:Dclang} ${HAVE_GCC:Dgcc} ${EXTERNAL_TOOLCHAIN:Dgcc} false
+AVAILABLE_COMPILER?=   ${HAVE_PCC:Dpcc} ${HAVE_LLVM:Dclang} ${HAVE_GCC:Dgcc} false
 
 .for _t in CC CPP CXX FC OBJC
 ACTIVE_${_t}=  ${AVAILABLE_COMPILER:@.c.@ ${ !defined(UNSUPPORTED_COMPILER.${.c.}) && defined(TOOL_${_t}.${.c.}) :? ${.c.} : }@:[1]}



Home | Main Index | Thread Index | Old Index