Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/mk reverse the GCC 5 test and only list the platforms ...
details: https://anonhg.NetBSD.org/src/rev/2e6bb036d73b
branches: trunk
changeset: 347595:2e6bb036d73b
user: mrg <mrg%NetBSD.org@localhost>
date: Sun Sep 04 18:57:39 2016 +0000
description:
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.
diffstat:
share/mk/bsd.own.mk | 26 +++++++++-----------------
1 files changed, 9 insertions(+), 17 deletions(-)
diffs (41 lines):
diff -r 6e5e0c95dbf9 -r 2e6bb036d73b share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk Sun Sep 04 18:27:08 2016 +0000
+++ b/share/mk/bsd.own.mk Sun Sep 04 18:57:39 2016 +0000
@@ -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 @@
.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"
+ ${MACHINE_CPU} == "mips" || \
+ ${MACHINE_CPU} == "m68k" || \
+ ${MACHINE_ARCH} == "coldfire" || \
+ ${MACHINE_ARCH} == "m68000" || \
+ ${MACHINE} == "or1k" || \
+ ${MACHINE} == "riscv"
+HAVE_GCC?= 48
+.else
HAVE_GCC?= 53
-.else
-# Otherwise, default to GCC4.8
-HAVE_GCC?= 48
.endif
#
Home |
Main Index |
Thread Index |
Old Index