Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 May 2021 11:47:44 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: d102f6d911f2 - main - audio/faust-lv2: fix build on powerpc64*
Message-ID:  <202105191147.14JBliAh028312@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=d102f6d911f254232a4509681bdeac8f04ff8f8d

commit d102f6d911f254232a4509681bdeac8f04ff8f8d
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2021-05-19 11:48:02 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2021-05-19 11:48:02 +0000

    audio/faust-lv2: fix build on powerpc64*
    
    ld: error: relocation R_PPC64_TOC16_LO cannot be used against symbol LV2Plugin::n_tunings; recompile with -fPIC
    >>> defined in /tmp/NLFeks-70c8a9.o
    >>> referenced by NLFeks.cpp
    >>>               /tmp/NLFeks-70c8a9.o:(lv2_dyn_manifest_get_data)
---
 audio/faust-lv2/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/audio/faust-lv2/Makefile b/audio/faust-lv2/Makefile
index adba9286b8a6..9aea12e6f2eb 100644
--- a/audio/faust-lv2/Makefile
+++ b/audio/faust-lv2/Makefile
@@ -28,6 +28,8 @@ BB_COMMIT=	4dc83e28e998
 
 WRKSRC=		${WRKDIR}/${BB_ACCOUNT}-${BB_PROJECT}-${BB_COMMIT}
 
+CFLAGS_powerpc64=	-fPIC
+CFLAGS_powerpc64le=	-fPIC
 LDFLAGS+=	-fPIC # recommended by 13i386 failure messages, it was only failing 
 
 OPTIONS_DEFINE_amd64=	SIMD



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202105191147.14JBliAh028312>