Fix crunchide on MIPS with other than the O32 ABI.

This commit is contained in:
Juli Mallett 2012-03-13 05:21:14 +00:00
parent 07257b7e1c
commit 505a01e936
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=232911
2 changed files with 2 additions and 6 deletions

View File

@ -1,5 +0,0 @@
# $FreeBSD$
.if ${MACHINE_ARCH} != "mipsel" && ${MACHINE_ARCH} != "mipseb"
MK_RESCUE=no
.endif

View File

@ -11,7 +11,8 @@ SRCS+= exec_aout.c
.endif
.if ${TARGET_ARCH} == ia64 || ${TARGET_ARCH} == powerpc64 || \
${TARGET_ARCH} == sparc64 || ${TARGET_ARCH} == amd64
${TARGET_ARCH} == sparc64 || ${TARGET_ARCH} == amd64 || \
${TARGET_ARCH:Mmips64*}
CFLAGS+=-DNLIST_ELF64
SRCS+= exec_elf64.c
exec_elf64.o: exec_elf32.c