Allow -DNO_CLEAN build across r358851.

The openmp 10.0.0 import renamed one .c file to .cpp, and this is
something our dependency system does not handle correctly.  Add another
ad-hoc cleanup to get rid of the stale dependency.

PR:		244251
MFC after:	6 weeks
X-MFC-With:	358851
This commit is contained in:
Dimitry Andric 2020-03-12 11:39:04 +00:00
parent 7f505e7f79
commit 0efe25f9a5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=358907

View File

@ -924,6 +924,15 @@ _sanity_check: .PHONY .MAKE
_cleanobj_fast_depend_hack: .PHONY
# Syscall stubs rewritten in C and obsolete MD assembly implementations
# Date SVN Rev Syscalls/Changes
# 20200310 r358851 rename of openmp's ittnotify_static.c to .cpp
.for f in ittnotify_static
@if [ -e "${OBJTOP}/lib/libomp/.depend.${f}.pico" ] && \
egrep -qw '${f}\.c' ${OBJTOP}/lib/libomp/.depend.${f}.pico; then \
echo "Removing stale dependencies for ${f}"; \
rm -f ${OBJTOP}/lib/libomp/.depend.${f}.* \
${LIBCOMPAT:D${LIBCOMPAT_OBJTOP}/lib/libomp/.depend.${f}.*}; \
fi
.endfor
# 20191009 r353340 removal of opensolaris_atomic.S (also r353381)
.if ${MACHINE} != i386
.for f in opensolaris_atomic