* configure.ac: Do CPU substitution even if it's specified explicitly.
Reported and tested by: Alain Greppin.
This commit is contained in:
parent
9462775a2d
commit
ec1dfd634e
2 changed files with 11 additions and 9 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2011-01-08 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* configure.ac: Do CPU substitution even if it's specified explicitly.
|
||||||
|
Reported and tested by: Alain Greppin.
|
||||||
|
|
||||||
2011-01-08 Vladimir Serbinenko <phcoder@gmail.com>
|
2011-01-08 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* grub-core/Makefile.am (rs_decoder.S): Force compilation with -Os.
|
* grub-core/Makefile.am (rs_decoder.S): Force compilation with -Os.
|
||||||
|
|
|
@ -103,15 +103,12 @@ else
|
||||||
platform="$with_platform"
|
platform="$with_platform"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Adjust CPU unless target was explicitly specified.
|
case "$target_cpu"-"$platform" in
|
||||||
if test -z "$target_alias"; then
|
|
||||||
case "$target_cpu"-"$platform" in
|
|
||||||
x86_64-efi) ;;
|
x86_64-efi) ;;
|
||||||
x86_64-emu) ;;
|
x86_64-emu) ;;
|
||||||
x86_64-*) target_cpu=i386 ;;
|
x86_64-*) target_cpu=i386 ;;
|
||||||
powerpc64-ieee1275) target_cpu=powerpc ;;
|
powerpc64-ieee1275) target_cpu=powerpc ;;
|
||||||
esac
|
esac
|
||||||
fi
|
|
||||||
|
|
||||||
# Check if the platform is supported, make final adjustments.
|
# Check if the platform is supported, make final adjustments.
|
||||||
case "$target_cpu"-"$platform" in
|
case "$target_cpu"-"$platform" in
|
||||||
|
|
Loading…
Reference in a new issue