summaryrefslogtreecommitdiffstats
path: root/usr.sbin/crunch
diff options
context:
space:
mode:
authorjmallett <jmallett@FreeBSD.org>2012-03-13 05:21:14 +0000
committerjmallett <jmallett@FreeBSD.org>2012-03-13 05:21:14 +0000
commit015c4b6e61f5433383f9c5aa633a608f414e8cad (patch)
tree3a415391f34f0bbc720d8e02367a405f14f8e6cc /usr.sbin/crunch
parentaea1dfe9df09f5b245dbf63a8002ba662f8b5d2a (diff)
downloadFreeBSD-src-015c4b6e61f5433383f9c5aa633a608f414e8cad.zip
FreeBSD-src-015c4b6e61f5433383f9c5aa633a608f414e8cad.tar.gz
Fix crunchide on MIPS with other than the O32 ABI.
Diffstat (limited to 'usr.sbin/crunch')
-rw-r--r--usr.sbin/crunch/crunchide/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/crunch/crunchide/Makefile b/usr.sbin/crunch/crunchide/Makefile
index 3e173e4..2a6c500 100644
--- a/usr.sbin/crunch/crunchide/Makefile
+++ b/usr.sbin/crunch/crunchide/Makefile
@@ -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
OpenPOWER on IntegriCloud