Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/mk switch 32 bit arm, m68* and sh3 to GCC 7.



details:   https://anonhg.NetBSD.org/src/rev/709060b593db
branches:  trunk
changeset: 449333:709060b593db
user:      mrg <mrg%NetBSD.org@localhost>
date:      Mon Mar 04 01:14:31 2019 +0000

description:
switch 32 bit arm, m68* and sh3 to GCC 7.

reverse the polarity now that few ports remain: hppa, vax, ia64 and ppc64

diffstat:

 share/mk/bsd.own.mk |  18 ++++++------------
 1 files changed, 6 insertions(+), 12 deletions(-)

diffs (34 lines):

diff -r 1d4ced5e9b23 -r 709060b593db share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk       Sun Mar 03 23:06:08 2019 +0000
+++ b/share/mk/bsd.own.mk       Mon Mar 04 01:14:31 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.own.mk,v 1.1104 2019/02/09 21:05:48 maya Exp $
+#      $NetBSD: bsd.own.mk,v 1.1105 2019/03/04 01:14:31 mrg Exp $
 
 # This needs to be before bsd.init.mk
 .if defined(BSD_MK_COMPAT_FILE)
@@ -59,19 +59,13 @@
 # What GCC is used?
 #
 .if \
-    ${MACHINE_CPU} == "alpha"  || \
-    ${MACHINE_CPU} == "aarch64"        || \
-    ${MACHINE_CPU} == "i386"   || \
-    ${MACHINE_CPU} == "mips"   || \
-    ${MACHINE_ARCH} == "powerpc"       || \
-    ${MACHINE_CPU} == "riscv"  || \
-    ${MACHINE_CPU} == "sparc"  || \
-    ${MACHINE_CPU} == "sparc64"        || \
-    ${MACHINE_CPU} == "x86_64"
-HAVE_GCC?=     7
-.else
+    ${MACHINE_CPU} == "hppa"   || \
+    ${MACHINE_CPU} == "ia64"   || \
+    ${MACHINE_ARCH} == "powerpc64"     || \
+    ${MACHINE_CPU} == "vax"
 HAVE_GCC?=     6
 .endif
+HAVE_GCC?=     7
 
 #
 # Platforms that can't run a modern GCC natively



Home | Main Index | Thread Index | Old Index