Skip to content

Commit ac507a2

Browse files
author
Alex Roitman
authored
Un-break building under arm64
The -msse option is specific to x86_64, it does not build under arm64.
1 parent 20882ce commit ac507a2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
if sys.platform == "win32":
1717
cflags = ["/O2"]
1818
else:
19-
cflags = ["-O3", "-msse4.2"]
19+
cflags = ["-O3", "-march=native"]
2020

2121
extensions = [Extension(
2222
"metrohash",

0 commit comments

Comments
 (0)