Module Name: src
Committed By: mrg
Date: Thu Aug 20 03:08:07 UTC 2020
Modified Files:
src/share/mk: bsd.own.mk
Log Message:
make GCC 8 consumers to use gcc.old.
To generate a diff of this commit:
cvs rdiff -u -r1.1204 -r1.1205 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.1204 src/share/mk/bsd.own.mk:1.1205
--- src/share/mk/bsd.own.mk:1.1204 Sun Aug 16 06:43:05 2020
+++ src/share/mk/bsd.own.mk Thu Aug 20 03:08:07 2020
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.own.mk,v 1.1204 2020/08/16 06:43:05 mrg Exp $
+# $NetBSD: bsd.own.mk,v 1.1205 2020/08/20 03:08:07 mrg Exp $
# This needs to be before bsd.init.mk
.if defined(BSD_MK_COMPAT_FILE)
@@ -75,9 +75,9 @@ MKGCCCMDS?= no
# We import the old gcc as "gcc.old" when upgrading. EXTERNAL_GCC_SUBDIR is
# set to the relevant subdirectory in src/external/gpl3 for his HAVE_GCC.
#
-.if ${HAVE_GCC} == 7
+.if ${HAVE_GCC} == 8
EXTERNAL_GCC_SUBDIR?= gcc.old
-.elif ${HAVE_GCC} == 8
+.elif ${HAVE_GCC} == 9
EXTERNAL_GCC_SUBDIR?= gcc
.else
EXTERNAL_GCC_SUBDIR?= /does/not/exist