* configure.ac: Don't use extended registers on x86_64.
Reported by: Peter Jones.
This commit is contained in:
parent
e56d9637ae
commit
89e0240c1c
2 changed files with 7 additions and 0 deletions
|
@ -464,7 +464,9 @@ if test "x$target_cpu" = xi386; then
|
|||
else
|
||||
TARGET_CFLAGS="$TARGET_CFLAGS -malign-jumps=1 -malign-loops=1 -malign-functions=1"
|
||||
fi
|
||||
fi
|
||||
|
||||
if test "x$target_cpu" = xi386 || test "x$target_cpu" = xx86_64; then
|
||||
# Some toolchains enable these features by default, but they need
|
||||
# registers that aren't set up properly in GRUB.
|
||||
TARGET_CFLAGS="$TARGET_CFLAGS -mno-mmx -mno-sse -mno-sse2 -mno-3dnow"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue