summaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index ed1acfd..5450b7e 100644
--- a/setup.py
+++ b/setup.py
@@ -894,7 +894,7 @@ class PyBuildExt(build_ext):
blake2_deps.append('hashlib.h')
blake2_macros = []
- if os.uname().machine == "x86_64":
+ if not cross_compiling and os.uname().machine == "x86_64":
# Every x86_64 machine has at least SSE2.
blake2_macros.append(('BLAKE2_USE_SSE', '1'))