summaryrefslogtreecommitdiffstats
path: root/lib/libmagic
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2016-04-14 21:06:10 +0000
committerbdrewery <bdrewery@FreeBSD.org>2016-04-14 21:06:10 +0000
commitb40d5fe0a7b8550ca5f6cfb5e750e946b12b1dcb (patch)
tree8aaa286b7ad01438e74918c3c600dd2e1609dfc1 /lib/libmagic
parentc027e2497fa58d9f68775e67f319f8d69b3d849d (diff)
downloadFreeBSD-src-b40d5fe0a7b8550ca5f6cfb5e750e946b12b1dcb.zip
FreeBSD-src-b40d5fe0a7b8550ca5f6cfb5e750e946b12b1dcb.tar.gz
META_MODE: Don't rebuild build-tools targets during normal build.
This avoids 'build command changed' due to CFLAGS/CC changes during the normal build. Without this the build-tools targets end up rebuilding for the *target* rather than keeping the native versions built in build-tools. Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'lib/libmagic')
-rw-r--r--lib/libmagic/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libmagic/Makefile b/lib/libmagic/Makefile
index 2add1d3..6baacc8 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 cdf_time.c encoding.c funcs.c magic.c print.c
+mkmagic: apprentice.c cdf_time.c encoding.c funcs.c magic.c print.c ${BUILD_TOOLS_META}
${CC} ${CFLAGS} -DCOMPILE_ONLY ${LDFLAGS} -o ${.TARGET} ${.ALLSRC} \
${LDADD}
OpenPOWER on IntegriCloud