[mpich2/f14] Clear m flags on arm as -m32/-m64 isn't supported

Peter Robinson pbrobinson at fedoraproject.org
Thu Jun 16 10:18:17 UTC 2011


commit 794467430de1eb504038ced7e5b6bbcea04df101
Author: Peter Robinson <pbrobinson at gmail.com>
Date:   Thu Jun 16 11:18:03 2011 +0100

    Clear m flags on arm as -m32/-m64 isn't supported

 mpich2.spec |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/mpich2.spec b/mpich2.spec
index 88f35dc..309b388 100644
--- a/mpich2.spec
+++ b/mpich2.spec
@@ -3,7 +3,7 @@
 Summary:	A high-performance implementation of MPI
 Name:		mpich2
 Version:	1.2.1p1
-Release:	10%{?dist}
+Release:	11%{?dist}
 License:	MIT
 Group:		Development/Libraries
 URL:		http://www.mcs.anl.gov/research/projects/mpich2
@@ -76,6 +76,10 @@ Contains documentations, examples and manpages for mpich2
 %global m_option -m%{__isa_bits}
 %endif
 
+%ifarch %{arm}
+%global m_option ""
+%endif
+
 %ifarch %{ix86} x86_64
 %global selected_channels ch3:nemesis
 %else
@@ -249,6 +253,9 @@ fi
 %exclude %{_datadir}/%{name}/examples*/Makefile-%{_arch}
 
 %changelog
+* Thu Jun 16 2011 Petr Robinson <pbrobinson at gmail.com> - 1.2.1p1-11
+- Clear m flags on arm as -m32/-m64 isn't supported
+
 * Wed Oct 13 2010 Deji Akingunola <dakingun at gmail.com> - 1.2.1p1-10
 - Resolve undefined symbols in the mpichcxx library.
 


More information about the scm-commits mailing list