define BFD_MACHINE_ARCH. This worked by accident before since the default
64 bit target was 32 bits.
This commit is contained in:
parent
f951576efa
commit
1075ff19ce
@ -1,4 +1,4 @@
|
||||
# $NetBSD: bsd.n32.mk,v 1.1 2021/04/25 15:18:23 christos Exp $
|
||||
# $NetBSD: bsd.n32.mk,v 1.2 2021/04/25 18:44:04 christos Exp $
|
||||
|
||||
.if !empty(MACHINE_ARCH:M*eb)
|
||||
LD+= -m elf32btsmipn32
|
||||
@ -12,6 +12,7 @@ LIBC_MACHINE_ARCH= ${MACHINE_ARCH:S/mipsn/mips/:S/64//}
|
||||
LIBGCC_MACHINE_ARCH= ${LIBC_MACHINE_ARCH}
|
||||
GOMP_MACHINE_ARCH= ${LIBC_MACHINE_ARCH}
|
||||
XORG_MACHINE_ARCH= ${LIBC_MACHINE_ARCH}
|
||||
BFD_MACHINE_ARCH= ${LIBC_MACHINE_ARCH}
|
||||
|
||||
COPTS+= -mabi=n32
|
||||
CPUFLAGS+= -mabi=n32
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: bsd.o32.mk,v 1.15 2021/04/25 15:18:23 christos Exp $
|
||||
# $NetBSD: bsd.o32.mk,v 1.16 2021/04/25 18:44:04 christos Exp $
|
||||
|
||||
.if !empty(MACHINE_ARCH:M*eb)
|
||||
LD+= -m elf32btsmip
|
||||
@ -12,6 +12,7 @@ LIBC_MACHINE_ARCH= ${MACHINE_ARCH:S/mipsn/mips/:S/64//}
|
||||
LIBGCC_MACHINE_ARCH= ${LIBC_MACHINE_ARCH}
|
||||
GOMP_MACHINE_ARCH= ${LIBC_MACHINE_ARCH}
|
||||
XORG_MACHINE_ARCH= ${LIBC_MACHINE_ARCH}
|
||||
BFD_MACHINE_ARCH= ${LIBC_MACHINE_ARCH}
|
||||
|
||||
COPTS+= -mabi=32 -march=mips3
|
||||
CPUFLAGS+= -mabi=32 -march=mips3
|
||||
|
Loading…
Reference in New Issue
Block a user