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