Skip to content

Commit

Permalink
Merge pull request #11 from diggit/linux_intel_build
Browse files Browse the repository at this point in the history
Fix build on x86_64 linux machines
  • Loading branch information
mliberty1 authored Feb 12, 2024
2 parents dcfae50 + 2302e9a commit a01a813
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a01a813

Please sign in to comment.