* configure.ac: Don't disable extended registers on emu.

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2013-05-08 11:01:11 +02:00
parent 89e0240c1c
commit ee0220bc26
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2013-05-08 Vladimir Serbinenko <phcoder@gmail.com>
* configure.ac: Don't disable extended registers on emu.
2013-05-07 Vladimir Serbinenko <phcoder@gmail.com> 2013-05-07 Vladimir Serbinenko <phcoder@gmail.com>
* configure.ac: Don't use extended registers on x86_64. * configure.ac: Don't use extended registers on x86_64.

View file

@ -466,7 +466,7 @@ if test "x$target_cpu" = xi386; then
fi fi
fi fi
if test "x$target_cpu" = xi386 || test "x$target_cpu" = xx86_64; then if ( test "x$target_cpu" = xi386 || test "x$target_cpu" = xx86_64 ) && test "x$platform" != xemu; then
# Some toolchains enable these features by default, but they need # Some toolchains enable these features by default, but they need
# registers that aren't set up properly in GRUB. # registers that aren't set up properly in GRUB.
TARGET_CFLAGS="$TARGET_CFLAGS -mno-mmx -mno-sse -mno-sse2 -mno-3dnow" TARGET_CFLAGS="$TARGET_CFLAGS -mno-mmx -mno-sse -mno-sse2 -mno-3dnow"