]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* configure.ac: Make efiemu test cflags match the cflags efiemu is
authorVladimir Serbinenko <phcoder@gmail.com>
Sun, 10 Nov 2013 13:46:13 +0000 (14:46 +0100)
committerVladimir Serbinenko <phcoder@gmail.com>
Sun, 10 Nov 2013 13:46:13 +0000 (14:46 +0100)
compiled with.

ChangeLog
configure.ac

index 591e1ef1587b357a0a4d261112893e95353f22e2..0cd6e726166b87f1c81a4044ea3771c24f3d733c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-11-10  Vladimir Serbinenko  <phcoder@gmail.com>
+
+       * configure.ac: Make efiemu test cflags match the cflags efiemu is
+       compiled with.
+
 2013-11-10  Vladimir Serbinenko  <phcoder@gmail.com>
 
        Fix grub_machine_fini bitrot.
index cc6e8b5bd0a1e56c3019c4ef3a954633cc2bbfe5..579acb882a914686a67c3a031184145b4a9568ba 100644 (file)
@@ -668,7 +668,7 @@ if test x"$platform" = xefi ; then
 fi
 if test x"$efiemu_excuse" = x ; then
   AC_CACHE_CHECK([whether options required for efiemu work], grub_cv_cc_efiemu, [
-    CFLAGS="$TARGET_CFLAGS -march=core2 -m64 -mcmodel=large -mno-red-zone -nostdlib"
+    CFLAGS="-m64 -nostdlib -O2 -mcmodel=large -mno-red-zone"
     AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[]])],
                      [grub_cv_cc_efiemu=yes],
                      [grub_cv_cc_efiemu=no])