git: c9edea9b9937 - releng/13.1 - riscv: fix riscv64sf build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 28 Mar 2022 16:30:14 UTC
The branch releng/13.1 has been updated by pkubaj (ports committer):
URL: https://cgit.FreeBSD.org/src/commit/?id=c9edea9b99378ccf387cb51c9a3dfb9321af4b83
commit c9edea9b99378ccf387cb51c9a3dfb9321af4b83
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2022-03-24 14:24:21 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2022-03-28 16:29:53 +0000
riscv: fix riscv64sf build
The library needs to have sf suffix cut off.
Differential revision: https://reviews.freebsd.org/D34561
Reviewed by: dim
Approved by: re (gjb)
(cherry picked from commit 18f71c9b2779999a9492b42c325524651a1b6909)
(cherry picked from commit 78e68a3d10216db2b3a6ddb0d4591358987c033e)
---
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"