diff --git a/configure b/configure
index 3fbfc4aeeedb0bf8ac9144d4d081dd46cb6a52e8..ee59dc1156f8559da33ad1297bcc1b00c20e231f 100755
--- a/configure
+++ b/configure
@@ -754,6 +754,7 @@ fi
 if test "$mmx" = "yes" ; then
   echo "TARGET_MMX=yes" >> config.mak
   echo "#define HAVE_MMX 1" >> $TMPH
+  echo "#define __CPU__ 586" >> $TMPH
 fi
 if test "$builtin_vector" = "yes" ; then
   echo "TARGET_BUILTIN_VECTOR=yes" >> config.mak