From 2302e9ae481a8da49312b7e5ab60f11f49724b42 Mon Sep 17 00:00:00 2001 From: Patrik Bachan Date: Thu, 8 Feb 2024 15:50:13 +0100 Subject: [PATCH] Fix build on x86_64 linux machines --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index e1f7b94..6a77c39 100644 --- a/setup.py +++ b/setup.py @@ -60,7 +60,7 @@ if platform.system() == 'Darwin': extra_compile_args = ['-msse4.2', '-mcrc'] # universal2 elif platform.system() == 'Linux': - if platform.processor() == 'x86_64': + if platform.machine() == 'x86_64': extra_compile_args = ['-msse4.2'] else: # Raspberry Pi 4 does not support CRC acceleration