Files
MINGW-packages/mingw-w64-python3/1600-fix-disable-blake2-sse.patch
2018-04-16 10:51:53 +03:00

12 lines
514 B
Diff

diff -Naur Python-3.6.5-orig/setup.py Python-3.6.5/setup.py
--- Python-3.6.5-orig/setup.py 2018-04-16 09:54:55.809553400 +0300
+++ Python-3.6.5/setup.py 2018-04-16 09:55:08.161456200 +0300
@@ -973,6 +973,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