aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2022-11-28 16:20:35 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2022-11-28 16:22:26 +0000
commit40698670f351ec0c9afc60b284ea978dbfb12fdd (patch)
tree85d10c22f4f960b74e6461f75af3556a59f84a0a
parent55297a39e860949bb8e9f172da213ccd8cc51522 (diff)
downloadports-40698670f351ec0c9afc60b284ea978dbfb12fdd.tar.gz
ports-40698670f351ec0c9afc60b284ea978dbfb12fdd.zip
graphics/alizams: Disable SIMD for i386
SIMD isn't properly enabled in the project on i386 and build breaks.
-rw-r--r--graphics/alizams/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/graphics/alizams/Makefile b/graphics/alizams/Makefile
index e4da26107e40..77cd8c4e3fa8 100644
--- a/graphics/alizams/Makefile
+++ b/graphics/alizams/Makefile
@@ -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>