NO_OBJ: Always fix .OBJDIR regardless of AUTO_OBJ.

Sponsored by:	Dell EMC
MFC after:	2 weeks
This commit is contained in:
Bryan Drewery
2020-04-07 17:07:04 +00:00
parent 1ff57e3a25
commit 33ae1ff723
2 changed files with 5 additions and 7 deletions
-2
View File
@@ -11,12 +11,10 @@ __<bsd.init.mk>__:
.include <bsd.opts.mk>
.-include "local.init.mk"
.if ${MK_AUTO_OBJ} == "yes"
# This is also done in bsd.obj.mk
.if defined(NO_OBJ) && ${.OBJDIR} != ${.CURDIR}
.OBJDIR: ${.CURDIR}
.endif
.endif
.if exists(${.CURDIR}/../Makefile.inc)
.include "${.CURDIR}/../Makefile.inc"