Module Name: src
Committed By: mrg
Date: Sun Mar 4 22:47:49 UTC 2018
Modified Files:
src/share/mk: bsd.own.mk
Log Message:
switch powerpc, mips and arm ports to GCC 6.
all kernels that build with gcc 5 still build.
several platforms tested in emulators and real hardware.
To generate a diff of this commit:
cvs rdiff -u -r1.1040 -r1.1041 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.1040 src/share/mk/bsd.own.mk:1.1041
--- src/share/mk/bsd.own.mk:1.1040 Sun Mar 4 00:17:05 2018
+++ src/share/mk/bsd.own.mk Sun Mar 4 22:47:49 2018
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.own.mk,v 1.1040 2018/03/04 00:17:05 christos Exp $
+# $NetBSD: bsd.own.mk,v 1.1041 2018/03/04 22:47:49 mrg Exp $
# This needs to be before bsd.init.mk
.if defined(BSD_MK_COMPAT_FILE)
@@ -64,14 +64,18 @@ MKGCC?= no
#
# What GCC is used?
#
-.if ${MACHINE_CPU} == "aarch64"
+.if \
+ ${MACHINE_CPU} == "aarch64"
HAVE_GCC?= 0
.elif \
- ${MACHINE_CPU} == "x86_64" || \
+ ${MACHINE_CPU} == "alpha" || \
${MACHINE_CPU} == "hppa" || \
${MACHINE_CPU} == "i386" || \
+ ${MACHINE_CPU} == "mips" || \
+ ${MACHINE_CPU} == "powerpc" || \
${MACHINE_CPU} == "sparc" || \
- ${MACHINE_CPU} == "sparc64"
+ ${MACHINE_CPU} == "sparc64" || \
+ ${MACHINE_CPU} == "x86_64"
HAVE_GCC?= 6
.else
HAVE_GCC?= 5