math/pffft: fix build on powerpc*
SIMD is currently broken.
This commit is contained in:
parent
a23dfd214a
commit
b9385345c2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user