Module Name: src
Committed By: mrg
Date: Mon Mar 5 09:17:42 UTC 2018
Modified Files:
src/share/mk: bsd.own.mk
Log Message:
switch sh3 to GCC 6. tested on landisk in emul and hardware.
actually do this by reversing the check to look for m68* and vax
to choose GCC 5, and otherwise default to GCC 6.
To generate a diff of this commit:
cvs rdiff -u -r1.1044 -r1.1045 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.1044 src/share/mk/bsd.own.mk:1.1045
--- src/share/mk/bsd.own.mk:1.1044 Mon Mar 5 08:08:06 2018
+++ src/share/mk/bsd.own.mk Mon Mar 5 09:17:42 2018
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.own.mk,v 1.1044 2018/03/05 08:08:06 mrg Exp $
+# $NetBSD: bsd.own.mk,v 1.1045 2018/03/05 09:17:42 mrg Exp $
# This needs to be before bsd.init.mk
.if defined(BSD_MK_COMPAT_FILE)
@@ -68,19 +68,12 @@ MKGCC?= no
${MACHINE_CPU} == "aarch64"
HAVE_GCC?= 0
.elif \
- ${MACHINE_CPU} == "alpha" || \
- ${MACHINE_CPU} == "arm" || \
- ${MACHINE_CPU} == "hppa" || \
- ${MACHINE_CPU} == "ia64" || \
- ${MACHINE_CPU} == "i386" || \
- ${MACHINE_CPU} == "mips" || \
- ${MACHINE_CPU} == "powerpc" || \
- ${MACHINE_CPU} == "sparc" || \
- ${MACHINE_CPU} == "sparc64" || \
- ${MACHINE_CPU} == "x86_64"
-HAVE_GCC?= 6
-.else
+ ${MACHINE_CPU} == "m68000" || \
+ ${MACHINE_CPU} == "m68k" || \
+ ${MACHINE_CPU} == "vax"
HAVE_GCC?= 5
+.else
+HAVE_GCC?= 6
.endif
#