Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/mk reverse HAVE_GCC test, and list remaining GCC 8 pla...
details: https://anonhg.NetBSD.org/src/rev/284c5782211d
branches: trunk
changeset: 944042:284c5782211d
user: mrg <mrg%NetBSD.org@localhost>
date: Tue Sep 15 09:32:31 2020 +0000
description:
reverse HAVE_GCC test, and list remaining GCC 8 platforms:
- powerpc
- sh3
- m68k
- vax
diffstat:
share/mk/bsd.own.mk | 13 ++++---------
1 files changed, 4 insertions(+), 9 deletions(-)
diffs (29 lines):
diff -r 40ddd66e65c8 -r 284c5782211d share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk Tue Sep 15 09:28:20 2020 +0000
+++ b/share/mk/bsd.own.mk Tue Sep 15 09:32:31 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.own.mk,v 1.1218 2020/09/15 09:27:25 mrg Exp $
+# $NetBSD: bsd.own.mk,v 1.1219 2020/09/15 09:32:31 mrg Exp $
# This needs to be before bsd.init.mk
.if defined(BSD_MK_COMPAT_FILE)
@@ -63,16 +63,11 @@
#
# What GCC is used?
#
-.if ${MACHINE} == "amd64" || ${MACHINE} == "i386" || \
- ${MACHINE} == "sparc" || ${MACHINE} == "sparc64" || \
- ${MACHINE} == "ia64" || \
- ${MACHINE_CPU} == "aarch64" || ${MACHINE_CPU} == "arm" || \
- ${MACHINE_CPU} == "hppa" || ${MACHINE_CPU} == "mips" || \
- ${MACHINE_CPU} == "riscv"
-HAVE_GCC?= 9
-.else
+.if ${MACHINE_CPU} == "powerpc" || ${MACHINE_CPU} == "sh3" || \
+ ${MACHINE_CPU} == "m68k" || ${MACHINE} == "vax"
HAVE_GCC?= 8
.endif
+HAVE_GCC?= 9
#
# Platforms that can't run a modern GCC natively
Home |
Main Index |
Thread Index |
Old Index