math/pffft: fix build on powerpc*

SIMD is currently broken.
This commit is contained in:
Piotr Kubaj 2022-02-20 11:51:01 +00:00
parent a23dfd214a
commit b9385345c2

View File

@ -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