Created attachment 230903 [details] patch 1. COMPILER_RT builds libclang_rt.builtins-riscv64.a library, but not cfi_blacklist.txt, so _COMPILER_RT_BLACKLISTS needs to be put into amd64 and i386 cases. 2. Instead of: .if ${ARCH} .endif .if {ARCH} Do: .if ${ARCH} .elseif ${ARCH} 3. Remove whitespace at the end of line.
Looks good to me, please commit.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=89ba74caeafbef6ed418cc07c392f990347095c9 commit 89ba74caeafbef6ed418cc07c392f990347095c9 Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2022-01-11 23:07:43 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2022-01-11 23:07:43 +0000 devel/llvm90: enable COMPILER_RT on riscv64 1. COMPILER_RT builds libclang_rt.builtins-riscv64.a library, but not cfi_blacklist.txt, so _COMPILER_RT_BLACKLISTS needs to be put into amd64 and i386 cases. 2. Instead of: .if ${ARCH} .endif .if {ARCH} Do: .if ${ARCH} .elseif ${ARCH} 3. Remove whitespace at the end of line. PR: 261106 Approved by: brooks (maintainer) devel/llvm90/Makefile | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-)