Date: Tue, 15 Sep 2020 13:36:04 +1200
From: Michael Hudson-Doyle <michael.hudson@canonical.com>
Bug-Debian: https://bugs.debian.org/969596
Description: Only pass -msse4.1 to the compiler on amd64

--- a/setup.py
+++ b/setup.py
@@ -26,7 +26,7 @@
 if platform.machine() in ["aarch64", "arm64"]:
 	include_dirs.append("sse2neon/")
 	extra_compile_args.extend(['-ftree-vectorize', '-DKSW_SSE2_ONLY', '-D__SSE2__'])
-else:
+elif platform.machine() == "x86_64":
 	extra_compile_args.append('-msse4.1') # WARNING: ancient x86_64 CPUs don't have SSE4
 
 def readme():
