Module Name: src
Committed By: mrg
Date: Mon Feb 20 06:31:09 UTC 2023
Modified Files:
src/share/mk: bsd.own.mk
Log Message:
GCC 10 now comes from gcc.old.
To generate a diff of this commit:
cvs rdiff -u -r1.1306 -r1.1307 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.1306 src/share/mk/bsd.own.mk:1.1307
--- src/share/mk/bsd.own.mk:1.1306 Sun Feb 5 14:53:38 2023
+++ src/share/mk/bsd.own.mk Mon Feb 20 06:31:09 2023
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.own.mk,v 1.1306 2023/02/05 14:53:38 christos Exp $
+# $NetBSD: bsd.own.mk,v 1.1307 2023/02/20 06:31:09 mrg Exp $
# This needs to be before bsd.init.mk
.if defined(BSD_MK_COMPAT_FILE)
@@ -84,9 +84,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} == 9
+.if ${HAVE_GCC} == 10
EXTERNAL_GCC_SUBDIR?= gcc.old
-.elif ${HAVE_GCC} == 10
+.elif ${HAVE_GCC} == 11
EXTERNAL_GCC_SUBDIR?= gcc
.else
EXTERNAL_GCC_SUBDIR?= /does/not/exist