Module Name:    src
Committed By:   christos
Date:           Thu May 27 17:13:20 UTC 2021

Modified Files:
        src/share/mk: bsd.own.mk

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.1250 -r1.1251 src/share/mk/bsd.own.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/mk/bsd.own.mk
diff -u src/share/mk/bsd.own.mk:1.1250 src/share/mk/bsd.own.mk:1.1251
--- src/share/mk/bsd.own.mk:1.1250	Thu May 27 07:24:58 2021
+++ src/share/mk/bsd.own.mk	Thu May 27 13:13:20 2021
@@ -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" || \

Reply via email to