Follow-up r325405: Only enable assertion for in-tree src builds.
Pointyhat to: bdrewery Reported by: O. Hartmann <ohartmann@walstatt.org> Sponsored by: Dell EMC Isilon
This commit is contained in:
parent
914a5ffcbd
commit
d949e92a9c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=325408
@ -84,7 +84,8 @@ OBJTOP?= ${MAKEOBJDIR}
|
||||
CANONICALOBJDIR:=/usr/obj${.CURDIR}
|
||||
.endif
|
||||
|
||||
.if ${CANONICALOBJDIR} == /${RELDIR} || ${.OBJDIR} == /${RELDIR}
|
||||
.if defined(SRCTOP) && \
|
||||
(${CANONICALOBJDIR} == /${RELDIR} || ${.OBJDIR} == /${RELDIR})
|
||||
.error .OBJDIR incorrectly set to /${RELDIR}
|
||||
.endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user