depend-cleanup.sh: rebuild strnlen.o on riscv64 if it came from strnlen.S

We have to switch back to the previous rule once the temporary
build fix has been replaced with a permanent fix.

MFC after:	1 week
See also:	2a4e3112c8
PR:		293353, 293296
This commit is contained in:
Robert Clausecker
2026-03-08 00:14:25 +01:00
parent 2a4e3112c8
commit b5514e1c6d
+4 -1
View File
@@ -349,7 +349,7 @@ if [ ${MACHINE} = riscv ]; then
clean_dep lib/libc memcpy c
# 20251031 5a52f0704435 libc: scalar strnlen() in RISC-V assembly
clean_dep lib/libc strnlen c
#clean_dep lib/libc strnlen c
# 20251031 08af0bbc9c7d libc: scalar strchrnul() in RISC-V assembly
clean_dep lib/libc strchrnul c
@@ -357,6 +357,9 @@ if [ ${MACHINE} = riscv ]; then
# 20251031 b5dbf3de5611 libc/riscv64: implement bcopy() and bzero() through memcpy() and memset()
clean_dep lib/libc bcopy c "libc.string.bcopy.c"
clean_dep lib/libc bzero c "libc.string.bzero.c"
# 20260307 2a4e3112c811 libc/riscv64: temporarily disable strnlen() implementation until a fix is developed
clean_dep lib/libc strnlen S
fi
if [ ${MACHINE_ARCH} = "aarch64" ]; then