* configure.ac: Don't add -m32/-m64 on emu.

This commit is contained in:
Vladimir Serbinenko 2013-11-02 22:46:01 +01:00
parent a86865891a
commit dd614590c9
2 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,7 @@
2013-11-02 Vladimir Serbinenko <phcoder@gmail.com>
* configure.ac: Don't add -m32/-m64 on emu.
2013-11-02 neil
* grub-core/osdep/linux/blocklist.c: Include linux/types.h for some

View File

@ -163,10 +163,12 @@ case "$target_cpu"-"$platform" in
*) AC_MSG_ERROR([platform "$platform" is not supported for target CPU "$target_cpu"]) ;;
esac
case "$target_cpu" in
i386 | powerpc) target_m32=1 ;;
x86_64 | sparc64) target_m64=1 ;;
esac
if [ x$platform != xemu ]; then
case "$target_cpu" in
i386 | powerpc) target_m32=1 ;;
x86_64 | sparc64) target_m64=1 ;;
esac
fi
case "$target_os" in
windows* | mingw32*) target_os=cygwin ;;