From 589a0b0fde733e72dd1d8c596d010be64f2425d5 Mon Sep 17 00:00:00 2001 From: mrg Date: Mon, 5 Mar 2018 09:17:42 +0000 Subject: [PATCH] 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. --- share/mk/bsd.own.mk | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/share/mk/bsd.own.mk b/share/mk/bsd.own.mk index 5caef249c1e8..a6293d33663c 100644 --- a/share/mk/bsd.own.mk +++ b/share/mk/bsd.own.mk @@ -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 #