File setup.patch of Package python-blosc

Index: blosc-1.2.4/setup.py
===================================================================
--- blosc-1.2.4.orig/setup.py
+++ blosc-1.2.4/setup.py
@@ -8,6 +8,7 @@
 ########################################################################
 
 import sys, os
+import re, platform
 
 from distutils.core import Extension
 from distutils.core import setup
@@ -57,7 +58,7 @@ for arg in args:
         sys.argv.remove(arg)
 
 # Add -msse2 flag for optimizing shuffle in Blosc
-if os.name == 'posix':
+if os.name == 'posix' and re.match("i.86", platform.machine()) != None:
     CFLAGS.append("-msse2")
 
 # Blosc sources and headers
openSUSE Build Service is sponsored by