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:
parent
b025b6a5ff
commit
589a0b0fde
|
@ -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
|
# This needs to be before bsd.init.mk
|
||||||
.if defined(BSD_MK_COMPAT_FILE)
|
.if defined(BSD_MK_COMPAT_FILE)
|
||||||
|
@ -68,19 +68,12 @@ MKGCC?= no
|
||||||
${MACHINE_CPU} == "aarch64"
|
${MACHINE_CPU} == "aarch64"
|
||||||
HAVE_GCC?= 0
|
HAVE_GCC?= 0
|
||||||
.elif \
|
.elif \
|
||||||
${MACHINE_CPU} == "alpha" || \
|
${MACHINE_CPU} == "m68000" || \
|
||||||
${MACHINE_CPU} == "arm" || \
|
${MACHINE_CPU} == "m68k" || \
|
||||||
${MACHINE_CPU} == "hppa" || \
|
${MACHINE_CPU} == "vax"
|
||||||
${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
|
|
||||||
HAVE_GCC?= 5
|
HAVE_GCC?= 5
|
||||||
|
.else
|
||||||
|
HAVE_GCC?= 6
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in New Issue