From 180583da5a197f6d3e3d3fdcf9e6c81e971d4b62 Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Thu, 17 Nov 2005 11:05:59 +0000 Subject: [PATCH] try less optimization on ia64 --- mono.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mono.spec b/mono.spec index a4278f3..c05ea0d 100644 --- a/mono.spec +++ b/mono.spec @@ -220,9 +220,13 @@ which is fully managed and actively maintained. %setup -q %build +%ifarch ia64 +export CFLAGS="-O2 -fno-strict-aliasing" +%else export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" +%endif + %configure --with-ikvm=yes -make clean make %{?_smp_mflags}