git: 45c4ff15e3eb - main - depend-cleanup.sh: Handle libc bcmp.S moving to bcmp.c on amd64.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 25 Mar 2022 18:03:41 UTC
The branch main has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=45c4ff15e3eb6953c8d546074fb0ad188c23a286
commit 45c4ff15e3eb6953c8d546074fb0ad188c23a286
Author: John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-03-25 18:03:18 +0000
Commit: John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-03-25 18:03:18 +0000
depend-cleanup.sh: Handle libc bcmp.S moving to bcmp.c on amd64.
Reviewed by: emaste
Fixes: 5fc3cc2713eff8cd ("amd64: make bcmp in libc just call memcmp")
Differential Revision: https://reviews.freebsd.org/D34676
---
tools/build/depend-cleanup.sh | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/tools/build/depend-cleanup.sh b/tools/build/depend-cleanup.sh
index d2e31dab31be..79033914f114 100755
--- a/tools/build/depend-cleanup.sh
+++ b/tools/build/depend-cleanup.sh
@@ -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