From ce4846ae75d435b9b2c2c415bf906851aafc10de Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Tue, 11 Jul 2023 00:50:31 +0200 Subject: [PATCH] depend-cleanup.sh: cleanup stale ffs.S dependencies for arm and i386 Now that depend-cleanup.sh handles 32-bit dependencies a bit better, get rid of the stale ffs.S ones, otherwise an incremental build on amd64 will fail with: cc: error: no such file or directory: '/usr/src/lib/libc/i386/string/ffs.S' Fixes: ee8b0c436d72 --- tools/build/depend-cleanup.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/build/depend-cleanup.sh b/tools/build/depend-cleanup.sh index e7e7f30ab16..a7c27a4ba73 100755 --- a/tools/build/depend-cleanup.sh +++ b/tools/build/depend-cleanup.sh @@ -128,3 +128,6 @@ if [ -f "$OBJTOP"/secure/lib/libcrypto/aria.o ]; then "$OBJTOP"/obj-lib32/secure/lib/libcrypto \ "$OBJTOP"/obj-lib32/secure/lib/libssl fi + +# 20230711 ee8b0c436d72 replace ffs/fls implementations with clang builtins +clean_dep lib/libc ffs S