1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-02 08:42:48 +00:00

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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=325348
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) && \