[shedskin/el5] delete -march=native on el5

tomspur tomspur at fedoraproject.org
Thu Jun 16 06:35:37 UTC 2011


commit 091e768c47832865cfef407e70e8cb31ecda11e9
Author: Thomas Spura <tomspur at fedoraproject.org>
Date:   Thu Jun 16 08:35:20 2011 +0200

    delete -march=native on el5

 shedskin.spec |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/shedskin.spec b/shedskin.spec
index ad7ae2b..ea0290d 100644
--- a/shedskin.spec
+++ b/shedskin.spec
@@ -51,6 +51,9 @@ and used in larger Python programs.
 
 %prep
 %setup -q -n %{name}-%{version}
+%if 0%{?rhel} == 5
+sed -i "s/-march=native//g" shedskin/FLAGS
+%endif
 
 
 %build
@@ -84,6 +87,7 @@ rm -rf %{buildroot}
 * Wed Jun 15 2011 Thomas Spura <tomspur at fedoraproject.org> - 0.8-1
 - update to new version
 - run tests, when building
+- delete -march=native on el5
 
 * Wed Feb 23 2011 Thomas Spura <tomspur at fedoraproject.org> - 0.7.1-1
 - update to new version


More information about the scm-commits mailing list