git: 25061ebc5fd2 - 2022Q3 - audio/faust: Attempt to fix failure on riscv64
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 21 Jul 2022 19:53:36 UTC
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