Skip to content

Commit e4b1939

Browse files
committed
compat: mips64/64: Try to fix *_MACHINE_ARCH; use mipsn64e[bl]
1 parent 8aee35c commit e4b1939

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

compat/mips64/64/bsd.64.mk

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $NetBSD: bsd.64.mk,v 1.13 2021/04/25 15:18:23 christos Exp $
1+
# $NetBSD: bsd.64.mk,v 1.14 2024/07/09 15:11:28 rin Exp $
22

33
.if !empty(MACHINE_ARCH:M*eb)
44
LD+= -m elf64btsmip
@@ -8,6 +8,12 @@ LD+= -m elf64ltsmip
88
.ifndef MLIBDIR
99
MLIBDIR= 64
1010

11+
LIBC_MACHINE_ARCH= ${MACHINE_ARCH:S/mips/mipsn/}
12+
LIBGCC_MACHINE_ARCH= ${LIBC_MACHINE_ARCH}
13+
GOMP_MACHINE_ARCH= ${LIBC_MACHINE_ARCH}
14+
XORG_MACHINE_ARCH= ${LIBC_MACHINE_ARCH}
15+
BFD_MACHINE_ARCH= ${LIBC_MACHINE_ARCH}
16+
1117
# GCC 5/6 libgomp for n64 needs files we don't generate yet.
1218
NO_LIBGOMP= 1
1319

0 commit comments

Comments
 (0)