Module Name: src
Committed By: mrg
Date: Wed Feb 26 05:51:11 UTC 2014
Modified Files:
src/share/mk: bsd.own.mk
Log Message:
put the new EXTERNAL_GCC_SUBDIR under MKGCC.
To generate a diff of this commit:
cvs rdiff -u -r1.769 -r1.770 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.769 src/share/mk/bsd.own.mk:1.770
--- src/share/mk/bsd.own.mk:1.769 Wed Feb 26 03:09:42 2014
+++ src/share/mk/bsd.own.mk Wed Feb 26 05:51:11 2014
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.own.mk,v 1.769 2014/02/26 03:09:42 christos Exp $
+# $NetBSD: bsd.own.mk,v 1.770 2014/02/26 05:51:11 mrg Exp $
# This needs to be before bsd.init.mk
.if defined(BSD_MK_COMPAT_FILE)
@@ -47,16 +47,19 @@ NEED_OWN_INSTALL_TARGET?= yes
TOOLCHAIN_MISSING?= no
#
-# Platforms still using GCC 4.1
+# GCC Using platforms.
#
.if ${MKGCC:Uyes} != "no"
+
+#
+# Platforms still using GCC 4.1
+#
.if ${MACHINE_CPU} == "vax"
HAVE_GCC?= 4
.else
# Otherwise, default to GCC4.5
HAVE_GCC?= 45
.endif
-.endif
#
# We import the old gcc as "gcc.old" when upgrading. EXTERNAL_GCC_SUBDIR is
@@ -71,6 +74,8 @@ EXTERNAL_GCC_SUBDIR= gcc
EXTERNAL_GCC_SUBDIR= /does/not/exist
.endif
+.endif
+
.if ${MACHINE_ARCH} == "ia64" || ${MACHINE_ARCH} == "powerpc64"
USE_COMPILERCRTSTUFF?= yes
.else