From: Vladimir Serbinenko Date: Sat, 2 Nov 2013 21:46:01 +0000 (+0100) Subject: * configure.ac: Don't add -m32/-m64 on emu. X-Git-Tag: grub-2.02-beta1~508 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dd614590c9b41286666dd4cd36396f1abd2832e9;p=thirdparty%2Fgrub.git * configure.ac: Don't add -m32/-m64 on emu. --- diff --git a/ChangeLog b/ChangeLog index 53a1818b4..ebc6726ad 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2013-11-02 Vladimir Serbinenko + + * 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 diff --git a/configure.ac b/configure.ac index 83ab04412..16768804d 100644 --- a/configure.ac +++ b/configure.ac @@ -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 ;;