git: d102f6d911f2 - main - audio/faust-lv2: fix build on powerpc64*
Piotr Kubaj
pkubaj at FreeBSD.org
Wed May 19 11:47:44 UTC 2021
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=d102f6d911f254232a4509681bdeac8f04ff8f8d
commit d102f6d911f254232a4509681bdeac8f04ff8f8d
Author: Piotr Kubaj <pkubaj at FreeBSD.org>
AuthorDate: 2021-05-19 11:48:02 +0000
Commit: Piotr Kubaj <pkubaj at 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
More information about the dev-commits-ports-all
mailing list