--- ./configure.ac.00	2008-06-02 08:30:53.000000000 +0200
+++ ./configure.ac	2008-06-02 08:42:30.000000000 +0200
@@ -191,7 +191,8 @@
 asm_support=no
 mmx_support=no
 if test "$ac_cv_prog_gcc" = yes; then
-
+case $host_cpu in
+*i?86*)
     # gcc-3.3 or newer complains about some of our stuff without this
     NOSTRICTALIASING="-fno-strict-aliasing"
 
@@ -218,6 +219,8 @@
           mmx_support=yes
        fi
     fi
+	;;
+esac
 fi
 AC_SUBST(NOSTRICTALIASING)
 
