summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2022-02-20 11:51:01 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2022-02-20 11:51:01 +0000
commitb9385345c2c92797a1e4cf647307d1edb3a8461a (patch)
treea5717a7671a531d4d2ce1e371a50f46662ac5f6e
parentwww/chromium: update to 98.0.4758.102 (diff)
math/pffft: fix build on powerpc*
SIMD is currently broken.
-rw-r--r--math/pffft/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/math/pffft/Makefile b/math/pffft/Makefile
index 315f319f8487..e423037d2a64 100644
--- a/math/pffft/Makefile
+++ b/math/pffft/Makefile
@@ -22,6 +22,8 @@ CMAKE_ON= BUILD_SHARED_LIBS INSTALL_PFDSP INSTALL_PFFASTCONV
.if ${ARCH} == i386
CFLAGS+= -msse2
CXXFLAGS+= -msse2 # fixes error: always_inline function '_mm_unpacklo_ps' requires target feature 'sse', but would be inlined into function 'pffft_zreorder' that is compiled without support for 'sse'
+.elif ${ARCH:Mpowerpc*}
+CMAKE_ARGS+= -DUSE_SIMD:BOOL=OFF #https://github.com/marton78/pffft/issues/55
.endif
post-install: # move headers into a dedicated directory