summaryrefslogtreecommitdiff
path: root/misc/py-numcodecs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'misc/py-numcodecs/Makefile')
-rw-r--r--misc/py-numcodecs/Makefile2
1 files changed, 2 insertions, 0 deletions
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