Blame 0001-Don-t-hardcode-march-native.patch

cddae7d
From 925a50e692de3df5837cb6f6767b08eba9039681 Mon Sep 17 00:00:00 2001
cddae7d
From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
cddae7d
Date: Sun, 22 Jul 2018 23:22:31 -0400
4308ea6
Subject: [PATCH 1/3] Don't hardcode -march=native.
cddae7d
cddae7d
It's not available on all arches and we pass the relevant optimization
cddae7d
flags ourselves anyway.
cddae7d
cddae7d
Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
cddae7d
---
cddae7d
 setup.py | 3 ---
cddae7d
 1 file changed, 3 deletions(-)
cddae7d
cddae7d
diff --git a/setup.py b/setup.py
cddae7d
index 8b1ffac..e7ed33b 100644
cddae7d
--- a/setup.py
cddae7d
+++ b/setup.py
cddae7d
@@ -108,9 +108,6 @@ class build_ext(build_ext):
cddae7d
             if os.environ.get("MANYLINUX"):
cddae7d
                 ext.extra_link_args += (
cddae7d
                     ["-static-libgcc", "-static-libstdc++"])
cddae7d
-            else:
cddae7d
-                ext.extra_compile_args += (
cddae7d
-                    ["-march=native"])
cddae7d
 
cddae7d
         elif sys.platform == "darwin":
cddae7d
             import cairo
cddae7d
-- 
cddae7d
2.17.1
cddae7d