git: 40698670f351 - main - graphics/alizams: Disable SIMD for i386

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Mon, 28 Nov 2022 16:22:30 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=40698670f351ec0c9afc60b284ea978dbfb12fdd

commit 40698670f351ec0c9afc60b284ea978dbfb12fdd
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-11-28 16:20:35 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-11-28 16:22:26 +0000

    graphics/alizams: Disable SIMD for i386
    
    SIMD isn't properly enabled in the project on i386 and build breaks.
---
 graphics/alizams/Makefile | 6 ++----
 1 file 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>