AUTO_OBJ is unsafe at the moment as it is for some reason removing /etc with _cleanobj.

This commit is contained in:
Bryan Drewery 2017-11-02 23:00:04 +00:00
parent aee3a96ebe
commit 5fecb1f1d6
2 changed files with 1 additions and 2 deletions

View File

@ -1,4 +1,3 @@
.error Bad revision, please wait for a fix in head
#
# $FreeBSD$
#

View File

@ -97,7 +97,7 @@ OBJROOT:= ${OBJTOP}/
# Try to enable MK_AUTO_OBJ by default if we can write to the OBJROOT. Only
# do this if AUTO_OBJ is not disabled by the user, not cleaning, and this
# is the first make ran.
.if ${.MAKE.LEVEL} == 0 && \
.if 0 && ${.MAKE.LEVEL} == 0 && \
${MK_AUTO_OBJ} == "no" && empty(.MAKEOVERRIDES:MMK_AUTO_OBJ) && \
!defined(WITHOUT_AUTO_OBJ) && !make(showconfig) && !make(print-dir) && \
!defined(NO_OBJ) && \