Qemu 32-bit i386, gcc >= 3.4 spill error fix

(Ben Taylor)


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4337 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
aurel32 2008-05-05 06:00:27 +00:00
parent b6cd0ea120
commit f2bf094ee7
2 changed files with 15 additions and 2 deletions

7
configure vendored
View file

@ -1199,6 +1199,13 @@ case "$target_cpu" in
then
echo "#define USE_KQEMU 1" >> $config_h
fi
gcc3minver=`$cc --version 2> /dev/null| fgrep "(GCC) 3." | awk '{ print $3 }' | cut -f2 -d.`
if test -n "$gcc3minver" -a $gcc3minver -gt 3
then
echo "HAVE_GT_GCC_3_3=true" >> $config_mak
else
echo "HAVE_GT_GCC_3_3=false" >> $config_mak
fi
;;
x86_64)
echo "TARGET_ARCH=x86_64" >> $config_mak