summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2015-11-19 00:45:36 +0000
committerbdrewery <bdrewery@FreeBSD.org>2015-11-19 00:45:36 +0000
commit974da0ce0fcdf87ac98f787662531c1511a8f743 (patch)
tree205f629a4825176ea3c5f44b21210e356d397c32 /share
parent8922a29059e11a919d3481ef569ef0b85dd5d909 (diff)
downloadFreeBSD-src-974da0ce0fcdf87ac98f787662531c1511a8f743.zip
FreeBSD-src-974da0ce0fcdf87ac98f787662531c1511a8f743.tar.gz
FAST_DEPEND: Similar to r290629, do always depend on headers if 'make depend'
has not ran yet. This fixes building objects directly, or skipping 'make depend', not generating required headers first. This case did work without FAST_DEPEND so there's no reason it should not work here as well. An example of this can be seen building in gnu/usr.bin/binutils/libbfd without running 'make depend' first to generate config.h. Sponsored by: EMC / Isilon Storage Division MFC after: 3 weeks X-MFC-With: r290433
Diffstat (limited to 'share')
-rw-r--r--share/mk/bsd.lib.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/mk/bsd.lib.mk b/share/mk/bsd.lib.mk
index b74c034..463b3d9 100644
--- a/share/mk/bsd.lib.mk
+++ b/share/mk/bsd.lib.mk
@@ -419,7 +419,7 @@ lint: ${SRCS:M*.c}
.if ${MK_FAST_DEPEND} == "yes" || !exists(${.OBJDIR}/${DEPENDFILE})
.if defined(LIB) && !empty(LIB)
-.if ${MK_FAST_DEPEND} == "no"
+.if !exists(${.OBJDIR}/${DEPENDFILE})
${OBJS} ${STATICOBJS} ${POBJS}: ${SRCS:M*.h}
.endif
.for _S in ${SRCS:N*.[hly]}
OpenPOWER on IntegriCloud