summaryrefslogtreecommitdiffstats
path: root/usr.sbin/crunch/crunchide/crunchide.c
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2002-04-30 09:34:53 +0000
committerru <ru@FreeBSD.org>2002-04-30 09:34:53 +0000
commitd2cb56e26ce9b15e3b6f97b81a3ffe0555f63dd6 (patch)
treee675fa2c0c3c637a8bffa06bf11440ad780ddec6 /usr.sbin/crunch/crunchide/crunchide.c
parentb6b2470fee2f571cb813096fa5097867bdc21e83 (diff)
downloadFreeBSD-src-d2cb56e26ce9b15e3b6f97b81a3ffe0555f63dd6.zip
FreeBSD-src-d2cb56e26ce9b15e3b6f97b81a3ffe0555f63dd6.tar.gz
Make crunchide(1) a cross-tool; needed for cross-arch "make release".
Note that a.out is only supported for the non-cross i386 case.
Diffstat (limited to 'usr.sbin/crunch/crunchide/crunchide.c')
-rw-r--r--usr.sbin/crunch/crunchide/crunchide.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/crunch/crunchide/crunchide.c b/usr.sbin/crunch/crunchide/crunchide.c
index 1538567..32b0451 100644
--- a/usr.sbin/crunch/crunchide/crunchide.c
+++ b/usr.sbin/crunch/crunchide/crunchide.c
@@ -208,7 +208,7 @@ struct {
int (*check)(int, const char *); /* 1 if match, zero if not */
int (*hide)(int, const char *); /* non-zero if error */
} exec_formats[] = {
-#ifdef __i386__
+#if defined(__i386__) && defined(arch_i386)
#ifdef NLIST_AOUT
{ "a.out", check_aout, hide_aout, },
#endif
OpenPOWER on IntegriCloud