Module Name:    src
Committed By:   rin
Date:           Tue Jul  9 15:11:28 UTC 2024

Modified Files:
        src/compat/mips64/64: bsd.64.mk

Log Message:
compat: mips64/64: Try to fix `*_MACHINE_ARCH`; use `mipsn64e[bl]`


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/compat/mips64/64/bsd.64.mk

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

Modified files:

Index: src/compat/mips64/64/bsd.64.mk
diff -u src/compat/mips64/64/bsd.64.mk:1.13 src/compat/mips64/64/bsd.64.mk:1.14
--- src/compat/mips64/64/bsd.64.mk:1.13	Sun Apr 25 15:18:23 2021
+++ src/compat/mips64/64/bsd.64.mk	Tue Jul  9 15:11:28 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: bsd.64.mk,v 1.13 2021/04/25 15:18:23 christos Exp $
+#	$NetBSD: bsd.64.mk,v 1.14 2024/07/09 15:11:28 rin Exp $
 
 .if !empty(MACHINE_ARCH:M*eb)
 LD+=		-m elf64btsmip
@@ -8,6 +8,12 @@ LD+=		-m elf64ltsmip
 .ifndef MLIBDIR
 MLIBDIR=	64
 
+LIBC_MACHINE_ARCH=	${MACHINE_ARCH:S/mips/mipsn/}
+LIBGCC_MACHINE_ARCH=	${LIBC_MACHINE_ARCH}
+GOMP_MACHINE_ARCH=	${LIBC_MACHINE_ARCH}
+XORG_MACHINE_ARCH=	${LIBC_MACHINE_ARCH}
+BFD_MACHINE_ARCH=	${LIBC_MACHINE_ARCH}
+
 # GCC 5/6 libgomp for n64 needs files we don't generate yet.
 NO_LIBGOMP=	1
 

Reply via email to