Module Name:    src
Committed By:   mrg
Date:           Sun Sep  4 18:57:39 UTC 2016

Modified Files:
        src/share/mk: bsd.own.mk

Log Message:
reverse the GCC 5 test and only list the platforms not using it:
    ${MACHINE_CPU} == "mips" || \
    ${MACHINE_CPU} == "m68k" || \
    ${MACHINE_ARCH} == "coldfire" || \
    ${MACHINE_ARCH} == "m68000" || \
    ${MACHINE} == "or1k" || \
    ${MACHINE} == "riscv"

and considering riscv and or1k both need to either wait for GCC 6
or have someone who cares port their 5.x patches to our tree, that
really only means we have mips and m68k left.


To generate a diff of this commit:
cvs rdiff -u -r1.952 -r1.953 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.952 src/share/mk/bsd.own.mk:1.953
--- src/share/mk/bsd.own.mk:1.952	Sat Sep  3 16:10:34 2016
+++ src/share/mk/bsd.own.mk	Sun Sep  4 18:57:39 2016
@@ -1,4 +1,4 @@
-#	$NetBSD: bsd.own.mk,v 1.952 2016/09/03 16:10:34 jakllsch Exp $
+#	$NetBSD: bsd.own.mk,v 1.953 2016/09/04 18:57:39 mrg Exp $
 
 # This needs to be before bsd.init.mk
 .if defined(BSD_MK_COMPAT_FILE)
@@ -67,23 +67,15 @@ MKGCC?=		no
 .if ${MACHINE_CPU} == "aarch64"
 HAVE_GCC?=	0
 .elif \
-    ${MACHINE} == "alpha" || \
-    ${MACHINE} == "amd64" || \
-    ${MACHINE} == "hppa" || \
-    ${MACHINE} == "i386" || \
-    ${MACHINE} == "ia64" || \
-    ${MACHINE} == "playstation2" || \
-    ${MACHINE} == "sparc" || \
-    ${MACHINE} == "sparc64" || \
-    ${MACHINE_CPU} == "arm" || \
-    ${MACHINE_CPU} == "sh3" || \
-    ${MACHINE_CPU} == "powerpc" || \
-    ${MACHINE_ARCH} == "mipsel" || ${MACHINE_ARCH} == "mipseb" || \
-    ${MACHINE_ARCH} == "vax"
-HAVE_GCC?=	53
-.else
-# Otherwise, default to GCC4.8
+    ${MACHINE_CPU} == "mips" || \
+    ${MACHINE_CPU} == "m68k" || \
+    ${MACHINE_ARCH} == "coldfire" || \
+    ${MACHINE_ARCH} == "m68000" || \
+    ${MACHINE} == "or1k" || \
+    ${MACHINE} == "riscv"
 HAVE_GCC?=	48
+.else
+HAVE_GCC?=	53
 .endif
 
 #

Reply via email to