From 8b9048e625df095caf4410094c1650c356952fce Mon Sep 17 00:00:00 2001 From: Yuri Victorovich Date: Wed, 12 Jul 2023 23:57:49 -0700 Subject: misc/py-numcodecs: Attempt to fix build on i386 sse2 isn't enabled by default on i386 so add the corresponding flag. Reported by: fallout --- misc/py-numcodecs/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'misc/py-numcodecs') diff --git a/misc/py-numcodecs/Makefile b/misc/py-numcodecs/Makefile index 7ba24dcfcaca..7106b8fbcb0c 100644 --- a/misc/py-numcodecs/Makefile +++ b/misc/py-numcodecs/Makefile @@ -21,6 +21,8 @@ RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}msgpack>0:devel/py-msgpack@${PY_FLAVOR} \ USES= python USE_PYTHON= distutils cython autoplist pytest # tests fail to find the library in the staged directory for some reason +CXXFLAGS_i386= -msse2 # otherwise it fails to compile: #error SSE2 is not supported by the target architecture/platform and/or this compiler. + TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} TEST_WRKSRC= ${WRKSRC}/numcodecs/tests -- cgit v1.2.3