Source-Changes-HG archive

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

[src/trunk]: src/share/mk Switch "xen" to gcc 10 too, otherwise xen kernel bu...



details:   https://anonhg.NetBSD.org/src/rev/4dbfe38cb6f1
branches:  trunk
changeset: 379326:4dbfe38cb6f1
user:      christos <christos%NetBSD.org@localhost>
date:      Thu May 27 17:13:20 2021 +0000

description:
Switch "xen" to gcc 10 too, otherwise xen kernel builds fail because they
"think" we have gcc-9 where we have gcc-10 in reality (since MACHINE=xen),
and we don't add ${GCC_NO_RETURN_LOCAL_ADDR} COPTS.in_pcb.c

diffstat:

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

diffs (17 lines):

diff -r 4924bda6148c -r 4dbfe38cb6f1 share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk       Thu May 27 15:47:42 2021 +0000
+++ b/share/mk/bsd.own.mk       Thu May 27 17:13:20 2021 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.own.mk,v 1.1250 2021/05/27 11:24:58 christos Exp $
+#      $NetBSD: bsd.own.mk,v 1.1251 2021/05/27 17:13:20 christos Exp $
 
 # This needs to be before bsd.init.mk
 .if defined(BSD_MK_COMPAT_FILE)
@@ -75,6 +75,7 @@ TOOLCHAIN_MISSING?=   no
 .if ${MACHINE} == "alpha" || \
     ${MACHINE} == "hppa" || \
     ${MACHINE} == "i386" || \
+    ${MACHINE} == "xen" || \
     ${MACHINE} == "ia64" || \
     ${MACHINE} == "sparc" || \
     ${MACHINE} == "sparc64" || \



Home | Main Index | Thread Index | Old Index