Date: Wed, 19 Jan 2022 11:07:01 GMT From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 65d22e337b24 - main - devel/oclgrind: fix build on riscv64 Message-ID: <202201191107.20JB71NK043203@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=65d22e337b24d93b905df48fabce173fec80a430 commit 65d22e337b24d93b905df48fabce173fec80a430 Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2022-01-19 11:04:10 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2022-01-19 11:04:10 +0000 devel/oclgrind: fix build on riscv64 ld: error: testCCompiler.c:(.text+0x0): relocation R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax --- devel/oclgrind/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/devel/oclgrind/Makefile b/devel/oclgrind/Makefile index 26199bdbc7b0..24acd4a1ff1b 100644 --- a/devel/oclgrind/Makefile +++ b/devel/oclgrind/Makefile @@ -29,6 +29,7 @@ USE_LDCONFIG= yes CC= clang${LLVM_VER} CXX= clang++${LLVM_VER} CPP= clang-cpp${LLVM_VER} +CFLAGS_riscv64= -mno-relax CMAKE_ARGS+= -DLLVM_DIR=${LOCALBASE}/llvm${LLVM_VER}/lib/cmake/llvm/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202201191107.20JB71NK043203>