Revert r359083, fixed properly by r359088

r359083 introduced a workaround for stale libomp dependencies during a
regular (no -DNO_CLEAN) buildworld.  r359088 addressed the reason the
clean step missed libomp, so revert the workaround.

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Ed Maste 2020-03-18 21:20:10 +00:00
parent d64b2df932
commit dadc342d07

View File

@ -1082,10 +1082,9 @@ _cleanobj:
.if defined(_LIBCOMPAT)
${_+_}cd ${.CURDIR}; ${LIBCOMPATWMAKE} _NO_INCLUDE_COMPILERMK=t -f Makefile.inc1 ${CLEANDIR}
.endif
.endif # !defined(NO_CLEAN)
# XXX make cleandir left stale .depend files behind, so invoke the
# dependency cleanup hack unconditionally.
.else
${_+_}cd ${.CURDIR}; ${WMAKE} _NO_INCLUDE_COMPILERMK=t _cleanobj_fast_depend_hack
.endif # !defined(NO_CLEAN)
_obj:
@echo
@echo "--------------------------------------------------------------"