diff -ruN mpich2-1.2.1-2.3.el6.src.rpm-rpmbuild/SPECS/mpich2.spec mpich2-1.2.1-2.3.el6.0.src.rpm-rpmbuild/SPECS/mpich2.spec
--- mpich2-1.2.1-2.3.el6.src.rpm-rpmbuild/SPECS/mpich2.spec	2010-08-05 20:23:24.000000000 +0100
+++ mpich2-1.2.1-2.3.el6.0.src.rpm-rpmbuild/SPECS/mpich2.spec	2011-09-23 14:41:40.000000000 +0100
@@ -1,7 +1,7 @@
 Summary:	A high-performance implementation of MPI
 Name:		mpich2
 Version:	1.2.1
-Release:	2.3%{?dist}
+Release:	2.3%{?dist}.0
 License:	MIT
 Group:		Development/Libraries
 URL:		http://www.mcs.anl.gov/research/projects/mpich2
@@ -75,7 +75,11 @@
 %ifarch s390
 %global m_option -m31
 %else
-%global m_option -m%{__isa_bits}
+  %ifarch %{arm}
+    %global m_option %{nil}
+  %else
+    %global m_option -m%{__isa_bits}
+  %endif
 %endif
 
 %ifarch %{ix86} x86_64
@@ -331,6 +335,10 @@
 %exclude %{_datadir}/%{name}/examples*/Makefile-%{_arch}
 
 %changelog
+* Fri Sep 23 2011 Gordan Bobic <gordan@bobich.net> 1.1.1-2.3.0
+- GCC on ARM doesn't have a -m32 option, so m_option cannot be generically
+  set to -m%{__isa_bits}
+
 * Thu Aug 5 2010 Jay Fenlason <fenlason@redhat.com> 1.1.1-2.3
 - ExcludeArch PowerPC and S390{,x} because they no longer have
   the Java jdk required for building.
