Module Name: src
Committed By: mrg
Date: Fri Feb 8 09:35:00 UTC 2019
Modified Files:
src/share/mk: bsd.own.mk
Log Message:
switch aarch64, alpha, i386, mips, powerpc, sparc, sparc64,
and x86_64 to GCC 7.
To generate a diff of this commit:
cvs rdiff -u -r1.1101 -r1.1102 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.1101 src/share/mk/bsd.own.mk:1.1102
--- src/share/mk/bsd.own.mk:1.1101 Wed Feb 6 11:05:30 2019
+++ src/share/mk/bsd.own.mk Fri Feb 8 09:35:00 2019
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.own.mk,v 1.1101 2019/02/06 11:05:30 mrg Exp $
+# $NetBSD: bsd.own.mk,v 1.1102 2019/02/08 09:35:00 mrg Exp $
# This needs to be before bsd.init.mk
.if defined(BSD_MK_COMPAT_FILE)
@@ -58,7 +58,19 @@ TOOLCHAIN_MISSING?= no
#
# What GCC is used?
#
+.if \
+ ${MACHINE_CPU} == "alpha" || \
+ ${MACHINE_CPU} == "aarch64" || \
+ ${MACHINE_CPU} == "i386" || \
+ ${MACHINE_CPU} == "mips" || \
+ ${MACHINE_CPU} == "powerpc" || \
+ ${MACHINE_CPU} == "sparc" || \
+ ${MACHINE_CPU} == "sparc64" || \
+ ${MACHINE_CPU} == "x86_64"
+HAVE_GCC?= 7
+.else
HAVE_GCC?= 6
+.endif
#
# Platforms that can't run a modern GCC natively