diff options
author | Ed Maste <emaste@FreeBSD.org> | 2020-03-18 20:12:46 +0000 |
---|---|---|
committer | Ed Maste <emaste@FreeBSD.org> | 2020-03-18 20:12:46 +0000 |
commit | 0d02682c96b730dd690d5be09dc0952c2b8b22e4 (patch) | |
tree | 805acd1d1ed386820ea7fdae27681a12ea6ff9b6 /Makefile.inc1 | |
parent | cd675bb60e39395c92b8d08704bc01cdbdc03fac (diff) | |
download | src-test2-0d02682c96b730dd690d5be09dc0952c2b8b22e4.tar.gz src-test2-0d02682c96b730dd690d5be09dc0952c2b8b22e4.zip |
invoke _cleanobj_fast_depend_hack unconditionally
Apparently make ${CLEANDIR} is leaving stale entries in .depend files;
for now invoke the hacky cleanup in both the -DNO_CLEAN and normal
(no -DNO_CLEAN) cases.
In collaboration with: dim
Sponsored by: The FreeBSD Foundation
Notes
Notes:
svn path=/head/; revision=359083
Diffstat (limited to 'Makefile.inc1')
-rw-r--r-- | Makefile.inc1 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1 index 08eaa8999c09..cd2d9a6bf7f5 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -1082,9 +1082,10 @@ _cleanobj: .if defined(_LIBCOMPAT) ${_+_}cd ${.CURDIR}; ${LIBCOMPATWMAKE} _NO_INCLUDE_COMPILERMK=t -f Makefile.inc1 ${CLEANDIR} .endif -.else - ${_+_}cd ${.CURDIR}; ${WMAKE} _NO_INCLUDE_COMPILERMK=t _cleanobj_fast_depend_hack .endif # !defined(NO_CLEAN) + # XXX make cleandir left stale .depend files behind, so invoke the + # dependency cleanup hack unconditionally. + ${_+_}cd ${.CURDIR}; ${WMAKE} _NO_INCLUDE_COMPILERMK=t _cleanobj_fast_depend_hack _obj: @echo @echo "--------------------------------------------------------------" |