diff options
-rw-r--r-- | contrib/file/apprentice.c | 2 | ||||
-rw-r--r-- | lib/libmagic/Makefile | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/contrib/file/apprentice.c b/contrib/file/apprentice.c index a9d4d17..8e0f2cf 100644 --- a/contrib/file/apprentice.c +++ b/contrib/file/apprentice.c @@ -648,7 +648,6 @@ set_test_type(struct magic *mstart, struct magic *m) break; case FILE_REGEX: case FILE_SEARCH: -#ifndef COMPILE_ONLY /* Check for override */ if (mstart->str_flags & STRING_BINTEST) mstart->flag |= BINTEST; @@ -664,7 +663,6 @@ set_test_type(struct magic *mstart, struct magic *m) mstart->flag |= BINTEST; else mstart->flag |= TEXTTEST; -#endif break; case FILE_DEFAULT: /* can't deduce anything; we shouldn't see this at the diff --git a/lib/libmagic/Makefile b/lib/libmagic/Makefile index fbf71ef..d983813 100644 --- a/lib/libmagic/Makefile +++ b/lib/libmagic/Makefile @@ -39,7 +39,7 @@ magic.mgc: mkmagic magic CLEANFILES+= mkmagic build-tools: mkmagic -mkmagic: apprentice.c funcs.c getline.c magic.c print.c +mkmagic: apprentice.c encoding.c funcs.c getline.c magic.c print.c ${CC} ${CFLAGS} -DCOMPILE_ONLY -DHOSTPROG ${LDFLAGS} \ -o ${.TARGET} ${.ALLSRC} |