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.
This commit is contained in:
mrg 2018-03-05 09:17:42 +00:00
parent b025b6a5ff
commit 589a0b0fde
1 changed files with 6 additions and 13 deletions

View File

@ -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
#