graphics/alizams: Disable SIMD for i386

SIMD isn't properly enabled in the project on i386 and build breaks.
This commit is contained in:
Yuri Victorovich 2022-11-28 08:20:35 -08:00
parent 55297a39e8
commit 40698670f3
1 changed files with 2 additions and 4 deletions

View File

@ -26,12 +26,10 @@ GH_PROJECT= AlizaMS
CMAKE_ARGS= -DALIZA_QT_VERSION=5
CXXFLAGS_i386= -msse2 # to fix this error: always_inline function '_mm_set1_ps' requires target feature 'sse'
.include <bsd.port.options.mk>
.if ${ARCH} != amd64 && ${ARCH} != i386
CXXFLAGS+= -DDISABLE_SIMDMATH
.if ${ARCH} != amd64
CXXFLAGS+= -DDISABLE_SIMDMATH # i386 also needs disabling SIND, see https://github.com/InsightSoftwareConsortium/ITK/issues/3771#issuecomment-1328839390
.endif
.include <../../science/InsightToolkit/Makefile.version>