depend-cleanup.sh: Handle libc bcmp.S moving to bcmp.c on amd64.

Reviewed by:	emaste
Fixes:		5fc3cc2713 ("amd64: make bcmp in libc just call memcmp")
Differential Revision:	https://reviews.freebsd.org/D34676
This commit is contained in:
John Baldwin 2022-03-25 11:03:18 -07:00
parent a7eb8afe9a
commit 45c4ff15e3

View file

@ -85,3 +85,8 @@ if [ -e "$OBJTOP"/lib/libc++/libc++.ld ] && \
echo "Removing old libc++ linker script"
rm -f "$OBJTOP"/lib/libc++/libc++.ld
fi
# 20220312 5fc3cc2713ef move from bcmp.S to bcmp.c
if [ "$MACHINE_ARCH" = "amd64" ]; then
clean_dep lib/libc bcmp S
fi