git: 78e68a3d1021 - stable/13 - riscv: fix riscv64sf build

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Sun, 27 Mar 2022 01:14:48 UTC
The branch stable/13 has been updated by pkubaj (ports committer):

URL: https://cgit.FreeBSD.org/src/commit/?id=78e68a3d10216db2b3a6ddb0d4591358987c033e

commit 78e68a3d10216db2b3a6ddb0d4591358987c033e
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2022-03-24 14:24:21 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2022-03-27 01:14:34 +0000

    riscv: fix riscv64sf build
    
    The library needs to have sf suffix cut off.
    
    MFC after:      3 days
    X-MFC with:     3781e77995e9b81afcbf7b3dc84b33b864c48794
    Differential revision:  https://reviews.freebsd.org/D34561
    Reviewed by:    dim
    
    (cherry picked from commit 18f71c9b2779999a9492b42c325524651a1b6909)
---
 lib/libclang_rt/compiler-rt-vars.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/libclang_rt/compiler-rt-vars.mk b/lib/libclang_rt/compiler-rt-vars.mk
index edfa6e7e7cd4..6b944c03de82 100644
--- a/lib/libclang_rt/compiler-rt-vars.mk
+++ b/lib/libclang_rt/compiler-rt-vars.mk
@@ -8,7 +8,7 @@ SANITIZER_LIBDIR=		${CLANGDIR}/lib/freebsd
     (!defined(CPUTYPE) || ${CPUTYPE:M*soft*} == "")
 CRTARCH?=	armhf
 .else
-CRTARCH?=	${MACHINE_ARCH:S/amd64/x86_64/:C/hf$//:S/mipsn32/mips64/}
+CRTARCH?=	${MACHINE_ARCH:S/amd64/x86_64/:C/hf$//:C/sf$//:S/mipsn32/mips64/}
 .endif
 
 .if ${COMPILER_TYPE} == "clang"