git: 4996ebdb7200 - main - libc/riscv64: temporarily unhook strrchr() from the build

From: Robert Clausecker <fuz_at_FreeBSD.org>
Date: Sun, 07 Jun 2026 21:00:57 UTC
The branch main has been updated by fuz:

URL: https://cgit.FreeBSD.org/src/commit/?id=4996ebdb720042239a197ebec2d265cdfdf1bbf3

commit 4996ebdb720042239a197ebec2d265cdfdf1bbf3
Author:     Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2026-06-07 19:00:33 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2026-06-07 20:59:19 +0000

    libc/riscv64: temporarily unhook strrchr() from the build
    
    A bug was discovered in the riscv64 assembly implementation of
    this function.  Fall back to the generic implementation until a
    fix can be developed.
    
    PR:             295823
    Reported by:    siva
    MFC after:      1 week
---
 lib/libc/riscv/string/Makefile.inc | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lib/libc/riscv/string/Makefile.inc b/lib/libc/riscv/string/Makefile.inc
index ce965833cb27..bf62258c4db5 100644
--- a/lib/libc/riscv/string/Makefile.inc
+++ b/lib/libc/riscv/string/Makefile.inc
@@ -5,5 +5,4 @@ MDSRCS+= \
 	memcpy.S \
 	memset.S \
 	strlen.S \
-	strchrnul.S \
-	strrchr.S
+	strchrnul.S