Allow -DNO_CLEAN build across r352689.
Split the LIBCOMPAT case because the usual egrep only matches in LIBCOMPAT on amd64.
This commit is contained in:
parent
c59050aab5
commit
0ed89481e1
@ -950,6 +950,21 @@ _sanity_check: .PHONY .MAKE
|
||||
_cleanobj_fast_depend_hack: .PHONY
|
||||
# Syscall stubs rewritten in C and obsolete MD assembly implementations
|
||||
# Date SVN Rev Syscalls
|
||||
# 20190925 r352689 removal of obsolete i386 memchr.S
|
||||
.for f in memchr
|
||||
@if [ -e "${OBJTOP}/lib/libc/.depend.${f}.o" ] && \
|
||||
egrep -qw 'i386/string/memchr\.S' ${OBJTOP}/lib/libc/.depend.${f}.o; then \
|
||||
echo "Removing stale dependencies for memchr"; \
|
||||
rm -f ${OBJTOP}/lib/libc/.depend.${f}.*; \
|
||||
fi
|
||||
.if defined(LIBCOMPAT)
|
||||
@if [ -e "${LIBCOMPAT_OBJTOP}/lib/libc/.depend.${f}.o" ] && \
|
||||
egrep -qw 'i386/string/memchr\.S' ${LIBCOMPAT_OBJTOP}/lib/libc/.depend.${f}.o; then \
|
||||
echo "Removing stale dependencies for memchr"; \
|
||||
rm -f ${LIBCOMPAT_OBJTOP}/lib/libc/.depend.${f}.*; \
|
||||
fi
|
||||
.endif
|
||||
.endfor
|
||||
# 20180604 r334626 brk sbrk
|
||||
# 20190916 r352703 shm_open
|
||||
.for f in brk sbrk shm_open
|
||||
|
Loading…
Reference in New Issue
Block a user