[mono] - Remove m32 CFLAGS

Paul F. Johnson pfj at fedoraproject.org
Thu Oct 14 06:50:37 UTC 2010


commit f566848011507491eae86377960fe39fd396de4f
Author: Paul F. Johnson <paul at all-the-johnsons.co.uk>
Date:   Thu Oct 14 07:50:29 2010 +0100

    - Remove m32 CFLAGS

 mono.spec |   11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)
---
diff --git a/mono.spec b/mono.spec
index e14f4ef..a785345 100644
--- a/mono.spec
+++ b/mono.spec
@@ -6,7 +6,7 @@
 
 Name:           mono
 Version:        2.8
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        A .NET runtime environment
 
 Group:          Development/Languages
@@ -327,15 +327,11 @@ rm -rf mcs/class/lib/monolite/*
 
 %build
 %ifarch ia64
-export CFLAGS="-O2 -fno-strict-aliasing -m32"
+export CFLAGS="-O2 -fno-strict-aliasing"
 %else
 export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
 %endif
 
-%ifarch x86_64
-export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -m32"
-%endif
-
 gcc -o monodir %{SOURCE1} -DMONODIR=\"%{_libdir}/mono\"
 
 %configure --with-ikvm-native=yes --with-jit=yes --with-xen_opt=yes \
@@ -863,6 +859,9 @@ install -p -m0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/pki/mono/
 %endif
 
 %changelog
+* Thu Oct 14 2010 Paul F. Johnson <paul at all-the-johnsons.co.uk> 2.8-3
+- Remove m32 CFLAGS
+
 * Wed Oct 13 2010 Paul F. Johnson <paul at all-the-johnsons.co.uk> 2.8-2
 - Fix URL
 - Attempt to fix 64 bit build problem by adding -m32 to the CFLAGS


More information about the scm-commits mailing list