Source-Changes-HG archive

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

[src/trunk]: src/share/mk put the new EXTERNAL_GCC_SUBDIR under MKGCC.



details:   https://anonhg.NetBSD.org/src/rev/e101102188a5
branches:  trunk
changeset: 327056:e101102188a5
user:      mrg <mrg%NetBSD.org@localhost>
date:      Wed Feb 26 05:51:11 2014 +0000

description:
put the new EXTERNAL_GCC_SUBDIR under MKGCC.

diffstat:

 share/mk/bsd.own.mk |  11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diffs (40 lines):

diff -r 8977b2884d64 -r e101102188a5 share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk       Wed Feb 26 04:31:29 2014 +0000
+++ b/share/mk/bsd.own.mk       Wed Feb 26 05:51:11 2014 +0000
@@ -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 @@
 TOOLCHAIN_MISSING?=    no
 
 #
+# GCC Using platforms.
+#
+.if ${MKGCC:Uyes} != "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
 
 #
 # We import the old gcc as "gcc.old" when upgrading.  EXTERNAL_GCC_SUBDIR is
@@ -71,6 +74,8 @@
 EXTERNAL_GCC_SUBDIR=   /does/not/exist
 .endif
 
+.endif
+
 .if ${MACHINE_ARCH} == "ia64" || ${MACHINE_ARCH} == "powerpc64"
 USE_COMPILERCRTSTUFF?= yes
 .else



Home | Main Index | Thread Index | Old Index