Files
MINGW-packages/mingw-w64-python3/1600-fix-disable-blake2-sse.patch
2017-06-19 11:59:14 +03:00

11 lines
460 B
Diff

--- Python-3.6.2rc1/setup.py.orig 2017-06-18 14:49:53.912121100 +0200
+++ Python-3.6.2rc1/setup.py 2017-06-18 14:51:03.769843600 +0200
@@ -943,6 +943,7 @@
blake2_macros = []
if (not cross_compiling and
+ not host_platform.startswith(('mingw', 'win')) and
os.uname().machine == "x86_64" and
sys.maxsize > 2**32):
# Every x86_64 machine has at least SSE2. Check for sys.maxsize