Module Name: src
Committed By: joerg
Date: Fri Aug 10 16:12:21 UTC 2012
Modified Files:
src/share/mk: bsd.own.mk
Log Message:
Don't set HAVE_GCC by default, if MKGCC is disabled.
To generate a diff of this commit:
cvs rdiff -u -r1.704 -r1.705 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.704 src/share/mk/bsd.own.mk:1.705
--- src/share/mk/bsd.own.mk:1.704 Fri Aug 10 02:53:09 2012
+++ src/share/mk/bsd.own.mk Fri Aug 10 16:12:20 2012
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.own.mk,v 1.704 2012/08/10 02:53:09 matt Exp $
+# $NetBSD: bsd.own.mk,v 1.705 2012/08/10 16:12:20 joerg Exp $
# This needs to be before bsd.init.mk
.if defined(BSD_MK_COMPAT_FILE)
@@ -49,12 +49,14 @@ TOOLCHAIN_MISSING?= no
#
# Platforms still using GCC 4.1
#
+.if ${MKGCC:Uyes} != "no"
.if ${MACHINE_CPU} == "vax"
HAVE_GCC?= 4
.else
# Otherwise, default to GCC4.5
HAVE_GCC?= 45
.endif
+.endif
.if \
${MACHINE_ARCH} == "i386" || \