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
This commit is contained in:
@@ -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}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user