opnsense-ports/archivers/py-bitshuffle/files/patch-setup.py
Franco Fichtner d35ca004f6 */*: sync with upstream
Taken from: FreeBSD
2024-03-26 10:55:10 +01:00

11 lines
463 B
Python

--- setup.py.orig 2022-11-26 00:17:16 UTC
+++ setup.py
@@ -371,7 +371,7 @@ class build_ext(build_ext_):
else:
openmpflag = "-fopenmp"
archi = platform.machine()
- if archi in ("i386", "x86_64"):
+ if archi in ("amd64", "i386", "x86_64"):
compileflags = COMPILE_FLAGS + ["-march=%s" % self.march]
else:
compileflags = COMPILE_FLAGS + ["-mcpu=%s" % self.march]