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}