Source-Changes-HG archive

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

[src/trunk]: src/share/mk move a{md,arch}64 to gcc 8



details:   https://anonhg.NetBSD.org/src/rev/e5960de75015
branches:  trunk
changeset: 460421:e5960de75015
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Oct 22 13:49:30 2019 +0000

description:
move a{md,arch}64 to gcc 8

diffstat:

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

diffs (22 lines):

diff -r 78a55bdb7545 -r e5960de75015 share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk       Tue Oct 22 13:19:47 2019 +0000
+++ b/share/mk/bsd.own.mk       Tue Oct 22 13:49:30 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.own.mk,v 1.1156 2019/10/13 10:12:13 mrg Exp $
+#      $NetBSD: bsd.own.mk,v 1.1157 2019/10/22 13:49:30 christos Exp $
 
 # This needs to be before bsd.init.mk
 .if defined(BSD_MK_COMPAT_FILE)
@@ -58,7 +58,12 @@
 #
 # What GCC is used?
 #
+.if ${MACHINE} == "amd64" || \
+    ${MACHINE_CPU} == "aarch64"
+HAVE_GCC?=     8
+.else
 HAVE_GCC?=     7
+.endif
 
 #
 # Platforms that can't run a modern GCC natively



Home | Main Index | Thread Index | Old Index