aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2021-06-15 08:41:04 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2021-06-15 08:41:04 +0000
commitb072fc2c5dbd37cea71ca9b672ddc829e98700f5 (patch)
treec3b545c257a8bc2373afb9e963ae0c87d3018386
parent67b7b46f9e11de830b04e1a48f83ac8617a7489f (diff)
downloadports-b072fc2c5dbd37cea71ca9b672ddc829e98700f5.tar.gz
ports-b072fc2c5dbd37cea71ca9b672ddc829e98700f5.zip
audio/artyfx-lv2: fix build on powerpc
In file included from /wrkdirs/usr/ports/audio/artyfx-lv2/work/openAV-ArtyFX-release-1.3-24-g6010d1a/src/avtk/libs/pffft.cxx:101: /usr/lib/clang/11.0.1/include/altivec.h:13:2: error: "AltiVec support not enabled"
-rw-r--r--audio/artyfx-lv2/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/audio/artyfx-lv2/Makefile b/audio/artyfx-lv2/Makefile
index 588c31398341..bb04ee1c833f 100644
--- a/audio/artyfx-lv2/Makefile
+++ b/audio/artyfx-lv2/Makefile
@@ -29,6 +29,7 @@ OPTIONS_DEFAULT_i386= SSE
SSE_CMAKE_ON= -DPORT_SIMD_FLAGS:STRING="-msse -msse2 -mfpmath=sse"
CXXFLAGS_powerpc64= -maltivec
+CXXFLAGS_powerpc= -maltivec
post-patch:
@${REINPLACE_CMD} -e 's| -g | |; s| -O1 | |; s/-msse2 -mfpmath=sse/$${PORT_SIMD_FLAGS}/g' \