Ignore errors from rm -rf to support high -j builds. This is, at best,
a kludge. However, it also effectively works around the issues for high -j builds on systems that do not have the rm fixes. A better fix would be to rmdir here, and fix the places where we're sloppy and not list all the files we create in CLEANFILES, should anybody have the time to chase them all to ground.
This commit is contained in:
parent
2736ae9f8c
commit
bd808d4133
@ -112,7 +112,7 @@ whereobj:
|
||||
|
||||
.if ${CANONICALOBJDIR} != ${.CURDIR} && exists(${CANONICALOBJDIR}/)
|
||||
cleanobj:
|
||||
@rm -rf ${CANONICALOBJDIR}
|
||||
@-rm -rf ${CANONICALOBJDIR}
|
||||
.else
|
||||
cleanobj: clean cleandepend
|
||||
.endif
|
||||
@ -130,7 +130,7 @@ clean:
|
||||
rm -f ${CLEANFILES}
|
||||
.endif
|
||||
.if defined(CLEANDIRS) && !empty(CLEANDIRS)
|
||||
rm -rf ${CLEANDIRS}
|
||||
-rm -rf ${CLEANDIRS}
|
||||
.endif
|
||||
.endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user