Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jul 2022 19:52:59 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 299eaaa88a76 - main - audio/faust: Attempt to fix failure on riscv64
Message-ID:  <202207211952.26LJqx1H006083@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=299eaaa88a7612ccd17243e2e889e2c62f009ead

commit 299eaaa88a7612ccd17243e2e889e2c62f009ead
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:52:31 +0000

    audio/faust: Attempt to fix failure on riscv64
    
    Reported by:    fallout
---
 audio/faust/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/audio/faust/Makefile b/audio/faust/Makefile
index 8e4cfdcc7b03..41f2f0f5e6d2 100644
--- a/audio/faust/Makefile
+++ b/audio/faust/Makefile
@@ -31,6 +31,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?202207211952.26LJqx1H006083>