aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2021-05-19 11:48:02 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2021-05-19 11:48:02 +0000
commitd102f6d911f254232a4509681bdeac8f04ff8f8d (patch)
tree46b08899ac867739546b2b68c26f775a438a1dd3
parent0ca8849103d5838079aa6433722e5c335dcc955d (diff)
downloadports-d102f6d911f254232a4509681bdeac8f04ff8f8d.tar.gz
ports-d102f6d911f254232a4509681bdeac8f04ff8f8d.zip
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)
-rw-r--r--audio/faust-lv2/Makefile2
1 files changed, 2 insertions, 0 deletions
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