Date: Thu, 21 Jul 2022 19:53:36 GMT From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org Subject: git: 25061ebc5fd2 - 2022Q3 - audio/faust: Attempt to fix failure on riscv64 Message-ID: <202207211953.26LJrajo006499@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch 2022Q3 has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=25061ebc5fd2e9e3b13a63c7085b6637c03fb8ab commit 25061ebc5fd2e9e3b13a63c7085b6637c03fb8ab Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2022-07-21 19:52:31 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-07-21 19:53:29 +0000 audio/faust: Attempt to fix failure on riscv64 Reported by: fallout (cherry picked from commit 299eaaa88a7612ccd17243e2e889e2c62f009ead) --- audio/faust/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/audio/faust/Makefile b/audio/faust/Makefile index fa76f4dd0be1..e966f3f4fe8a 100644 --- a/audio/faust/Makefile +++ b/audio/faust/Makefile @@ -33,6 +33,7 @@ CMAKE_ARGS= -C ${FILESDIR}/backends.cmake -DLLVM_CONFIG=${LOCALBASE}/bin/llvm-co CXXFLAGS+= -I${WRKSRC}/compiler/generator/cpp # fatal error: 'cpp_code_container.hh' file not found WHEN INCLUDE_STATIC=TRUE CXXFLAGS+= `llvm-config${LLVM_VERSION} --cflags` -DLLVM_${LLVM_VERSION}0 # for the llvm backend +CXXFLAGS_riscv64= -fPIC # attempt to fix failure: can't create dynamic relocation R_RISCV_HI20 against symbol: vtable for LV2UI in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output LDFLAGS+= -lexecinfo OPTIONS_DEFINE= EXAMPLES HIGHLIGHT HTTPD_LIB
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202207211953.26LJrajo006499>