Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/mk switch sh3 to GCC 6. tested on landisk in emul and...
details: https://anonhg.NetBSD.org/src/rev/d5f5f6271b14
branches: trunk
changeset: 360046:d5f5f6271b14
user: mrg <mrg%NetBSD.org@localhost>
date: Mon Mar 05 09:17:42 2018 +0000
description:
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.
diffstat:
share/mk/bsd.own.mk | 19 ++++++-------------
1 files changed, 6 insertions(+), 13 deletions(-)
diffs (34 lines):
diff -r 7a4c7752b4c1 -r d5f5f6271b14 share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk Mon Mar 05 08:56:49 2018 +0000
+++ b/share/mk/bsd.own.mk Mon Mar 05 09:17:42 2018 +0000
@@ -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 @@
${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"
+ ${MACHINE_CPU} == "m68000" || \
+ ${MACHINE_CPU} == "m68k" || \
+ ${MACHINE_CPU} == "vax"
+HAVE_GCC?= 5
+.else
HAVE_GCC?= 6
-.else
-HAVE_GCC?= 5
.endif
#
Home |
Main Index |
Thread Index |
Old Index