Module Name:    src
Committed By:   mrg
Date:           Sat Feb 17 21:46:16 UTC 2018

Modified Files:
        src/share/mk: bsd.own.mk

Log Message:
switch i386, sparc and sparc64 to GCC 6.


To generate a diff of this commit:
cvs rdiff -u -r1.1033 -r1.1034 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.1033 src/share/mk/bsd.own.mk:1.1034
--- src/share/mk/bsd.own.mk:1.1033	Sun Feb 11 03:44:53 2018
+++ src/share/mk/bsd.own.mk	Sat Feb 17 21:46:15 2018
@@ -1,4 +1,4 @@
-#	$NetBSD: bsd.own.mk,v 1.1033 2018/02/11 03:44:53 christos Exp $
+#	$NetBSD: bsd.own.mk,v 1.1034 2018/02/17 21:46:15 mrg Exp $
 
 # This needs to be before bsd.init.mk
 .if defined(BSD_MK_COMPAT_FILE)
@@ -66,7 +66,11 @@ MKGCC?=		no
 #
 .if ${MACHINE_CPU} == "aarch64"
 HAVE_GCC?=	0
-.elif ${MACHINE} == "amd64"
+.elif \
+    ${MACHINE_CPU} == "x86_64" || \
+    ${MACHINE_CPU} == "i386" || \
+    ${MACHINE_CPU} == "sparc" || \
+    ${MACHINE_CPU} == "sparc64"
 HAVE_GCC?=	6
 .else
 HAVE_GCC?=	5

Reply via email to