mirror of
https://github.com/opnsense/src.git
synced 2026-04-15 14:29:58 -04:00
Fixed the nasty bug where .depend file that exists somewhere in
the .PATH (but not in the ${.OBJDIR}) would result in a leak of
the ${OBJS}: ${SRCS:M*.h} dependency hint.
Spotted by: fixing the broken gnu/usr.bin/cc/cc1obj build
MFC after: 1 day
This commit is contained in:
parent
ebdb43a2f8
commit
88505e11bc
2 changed files with 2 additions and 2 deletions
|
|
@ -390,7 +390,7 @@ maninstall:
|
|||
|
||||
.include <bsd.dep.mk>
|
||||
|
||||
.if !exists(${DEPENDFILE})
|
||||
.if !exists(${.OBJDIR}/${DEPENDFILE})
|
||||
${OBJS} ${STATICOBJS} ${POBJS} ${SOBJS}: ${SRCS:M*.h}
|
||||
.endif
|
||||
|
||||
|
|
|
|||
|
|
@ -240,7 +240,7 @@ regress:
|
|||
|
||||
.include <bsd.dep.mk>
|
||||
|
||||
.if defined(PROG) && !exists(${DEPENDFILE})
|
||||
.if defined(PROG) && !exists(${.OBJDIR}/${DEPENDFILE})
|
||||
${OBJS}: ${SRCS:M*.h}
|
||||
.endif
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue