Module Name: src
Committed By: rin
Date: Tue Jul 9 08:20:34 UTC 2024
Modified Files:
src/share/mk: bsd.own.mk
Log Message:
bsd.own.mk: Fix MKCOMPAT=no build for mipsn64e[bl]
To generate a diff of this commit:
cvs rdiff -u -r1.1385 -r1.1386 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.1385 src/share/mk/bsd.own.mk:1.1386
--- src/share/mk/bsd.own.mk:1.1385 Sun Jun 30 15:56:08 2024
+++ src/share/mk/bsd.own.mk Tue Jul 9 08:20:34 2024
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.own.mk,v 1.1385 2024/06/30 15:56:08 christos Exp $
+# $NetBSD: bsd.own.mk,v 1.1386 2024/07/09 08:20:34 rin Exp $
# This needs to be before bsd.init.mk
.if defined(BSD_MK_COMPAT_FILE)
@@ -1592,7 +1592,7 @@ OBJECT_FMTS=
OBJECT_FMTS+= elf32
.endif
.if ${MACHINE_ARCH} == "alpha" || ${MACHINE_ARCH:M*64*} != ""
-. if !(${MKCOMPAT:Uyes} == "no" && ${MACHINE_CPU} == "mips")
+. if !(${MKCOMPAT:Uyes} == "no" && ${MACHINE_ARCH:Mmips64*} != "")
OBJECT_FMTS+= elf64
. endif
.endif