Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/mk switch powerpc, mips and arm ports to GCC 6.
details: https://anonhg.NetBSD.org/src/rev/bbf605de079f
branches: trunk
changeset: 320912:bbf605de079f
user: mrg <mrg%NetBSD.org@localhost>
date: Sun Mar 04 22:47:49 2018 +0000
description:
switch powerpc, mips and arm ports to GCC 6.
all kernels that build with gcc 5 still build.
several platforms tested in emulators and real hardware.
diffstat:
share/mk/bsd.own.mk | 12 ++++++++----
1 files changed, 8 insertions(+), 4 deletions(-)
diffs (31 lines):
diff -r 5ceae304837a -r bbf605de079f share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk Sun Mar 04 22:28:18 2018 +0000
+++ b/share/mk/bsd.own.mk Sun Mar 04 22:47:49 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.own.mk,v 1.1040 2018/03/04 00:17:05 christos Exp $
+# $NetBSD: bsd.own.mk,v 1.1041 2018/03/04 22:47:49 mrg Exp $
# This needs to be before bsd.init.mk
.if defined(BSD_MK_COMPAT_FILE)
@@ -64,14 +64,18 @@
#
# What GCC is used?
#
-.if ${MACHINE_CPU} == "aarch64"
+.if \
+ ${MACHINE_CPU} == "aarch64"
HAVE_GCC?= 0
.elif \
- ${MACHINE_CPU} == "x86_64" || \
+ ${MACHINE_CPU} == "alpha" || \
${MACHINE_CPU} == "hppa" || \
${MACHINE_CPU} == "i386" || \
+ ${MACHINE_CPU} == "mips" || \
+ ${MACHINE_CPU} == "powerpc" || \
${MACHINE_CPU} == "sparc" || \
- ${MACHINE_CPU} == "sparc64"
+ ${MACHINE_CPU} == "sparc64" || \
+ ${MACHINE_CPU} == "x86_64"
HAVE_GCC?= 6
.else
HAVE_GCC?= 5
Home |
Main Index |
Thread Index |
Old Index