Author: imp
Date: Thu Nov  6 17:19:41 2014
New Revision: 274186
URL: https://svnweb.freebsd.org/changeset/base/274186

Log:
  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.

Modified:
  head/share/mk/bsd.obj.mk

Modified: head/share/mk/bsd.obj.mk
==============================================================================
--- head/share/mk/bsd.obj.mk    Thu Nov  6 16:52:51 2014        (r274185)
+++ head/share/mk/bsd.obj.mk    Thu Nov  6 17:19:41 2014        (r274186)
@@ -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
 
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to