Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/mk switch aarch64, alpha, i386, mips, powerpc, sparc, ...



details:   https://anonhg.NetBSD.org/src/rev/55c934e9b954
branches:  trunk
changeset: 839164:55c934e9b954
user:      mrg <mrg%NetBSD.org@localhost>
date:      Fri Feb 08 09:35:00 2019 +0000

description:
switch aarch64, alpha, i386, mips, powerpc, sparc, sparc64,
and x86_64 to GCC 7.

diffstat:

 share/mk/bsd.own.mk |  14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)

diffs (29 lines):

diff -r 10f42f949bda -r 55c934e9b954 share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk       Fri Feb 08 09:17:12 2019 +0000
+++ b/share/mk/bsd.own.mk       Fri Feb 08 09:35:00 2019 +0000
@@ -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 @@
 #
 # 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



Home | Main Index | Thread Index | Old Index