aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2022-11-22 15:29:51 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2022-11-22 22:05:34 +0000
commit1daf7a208e41c006b2442b9341a6c4425d0ab393 (patch)
tree7862ff27f497274d69fb6d8b2a6208f3b4e11745
parentebc4ef62e6c8117ce1635832d7b242f13bc9ab47 (diff)
downloadports-1daf7a208e41c006b2442b9341a6c4425d0ab393.tar.gz
ports-1daf7a208e41c006b2442b9341a6c4425d0ab393.zip
science/InsightToolkit521: Fix build on i386
Reported by: fallout
-rw-r--r--science/InsightToolkit521/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/science/InsightToolkit521/Makefile b/science/InsightToolkit521/Makefile
index 12a2a906b343..56a498b90369 100644
--- a/science/InsightToolkit521/Makefile
+++ b/science/InsightToolkit521/Makefile
@@ -48,6 +48,8 @@ CMAKE_ARGS= -DPython3_EXECUTABLE=${PYTHON_CMD}
CMAKE_OFF= ITK_USE_KWSTYLE BUILD_TESTING
CMAKE_TESTING_ON= BUILD_TESTING # 3 tests are known to fail, see https://github.com/InsightSoftwareConsortium/ITK/issues/3739
+CXXFLAGS_i386= -msse2 # to fix this error: always_inline function '_mm_cvtsd_si32' requires target feature 'sse2' (i386 doesn't have SSE2 enabled by default)
+
ITK_VER= ${PORTVERSION:R}
PLIST_SUB+= ITK_VER=${ITK_VER}