Thu May 27 21:02:56 2021 UTC ()
mips has switched already.


(christos)
diff -r1.1253 -r1.1254 src/share/mk/bsd.own.mk

cvs diff -r1.1253 -r1.1254 src/share/mk/bsd.own.mk (expand / switch to unified diff)

--- src/share/mk/bsd.own.mk 2021/05/27 20:29:24 1.1253
+++ src/share/mk/bsd.own.mk 2021/05/27 21:02:56 1.1254
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: bsd.own.mk,v 1.1253 2021/05/27 20:29:24 christos Exp $ 1# $NetBSD: bsd.own.mk,v 1.1254 2021/05/27 21:02:56 christos Exp $
2 2
3# This needs to be before bsd.init.mk 3# This needs to be before bsd.init.mk
4.if defined(BSD_MK_COMPAT_FILE) 4.if defined(BSD_MK_COMPAT_FILE)
5.include <${BSD_MK_COMPAT_FILE}> 5.include <${BSD_MK_COMPAT_FILE}>
6.endif 6.endif
7 7
8.if !defined(_BSD_OWN_MK_) 8.if !defined(_BSD_OWN_MK_)
9_BSD_OWN_MK_=1 9_BSD_OWN_MK_=1
10 10
11MAKECONF?= /etc/mk.conf 11MAKECONF?= /etc/mk.conf
12.-include "${MAKECONF}" 12.-include "${MAKECONF}"
13 13
14# 14#
@@ -68,27 +68,26 @@ TOOLCHAIN_MISSING?= no @@ -68,27 +68,26 @@ TOOLCHAIN_MISSING?= no
68# GCC Using platforms. 68# GCC Using platforms.
69# 69#
70.if ${MKGCC:Uyes} != "no" 70.if ${MKGCC:Uyes} != "no"
71 71
72# 72#
73# What GCC is used? 73# What GCC is used?
74# 74#
75.if ${MACHINE} == "alpha" || \ 75.if ${MACHINE} == "alpha" || \
76 ${MACHINE} == "hppa" || \ 76 ${MACHINE} == "hppa" || \
77 ${MACHINE} == "ia64" || \ 77 ${MACHINE} == "ia64" || \
78 ${MACHINE} == "sparc" || \ 78 ${MACHINE} == "sparc" || \
79 ${MACHINE} == "sparc64" || \ 79 ${MACHINE} == "sparc64" || \
80 ${MACHINE} == "vax" || \ 80 ${MACHINE} == "vax" || \
81 ${MACHINE_MIPS64} || \ 
82 ${MACHINE_ARCH} == "i386" || \ 81 ${MACHINE_ARCH} == "i386" || \
83 ${MACHINE_ARCH} == "x86_64" || \ 82 ${MACHINE_ARCH} == "x86_64" || \
84 ${MACHINE_CPU} == "aarch64" || \ 83 ${MACHINE_CPU} == "aarch64" || \
85 ${MACHINE_CPU} == "mips" || \ 84 ${MACHINE_CPU} == "mips" || \
86 ${MACHINE_CPU} == "powerpc" || \ 85 ${MACHINE_CPU} == "powerpc" || \
87 ${MACHINE_CPU} == "riscv" 86 ${MACHINE_CPU} == "riscv"
88HAVE_GCC?= 10 87HAVE_GCC?= 10
89.else 88.else
90HAVE_GCC?= 9 89HAVE_GCC?= 9
91.endif 90.endif
92 91
93# 92#
94# Platforms that can't run a modern GCC natively 93# Platforms that can't run a modern GCC natively