* configure.ac: Make efiemu test cflags match the cflags efiemu is

compiled with.
This commit is contained in:
Vladimir Serbinenko committed 2013-11-10 14:46:13 +01:00
1 parent 5645cc7995
commit 3c2304d55f
2 files changed
+6 -1

No files matched your search

+5
View File
@@ -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> 2013-11-10 Vladimir Serbinenko <phcoder@gmail.com>
Fix grub_machine_fini bitrot. Fix grub_machine_fini bitrot.
+1 -1
View File
@@ -668,7 +668,7 @@ if test x"$platform" = xefi ; then
fi fi
if test x"$efiemu_excuse" = x ; then if test x"$efiemu_excuse" = x ; then
AC_CACHE_CHECK([whether options required for efiemu work], grub_cv_cc_efiemu, [ 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([[]], [[]])], AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[]])],
[grub_cv_cc_efiemu=yes], [grub_cv_cc_efiemu=yes],
[grub_cv_cc_efiemu=no]) [grub_cv_cc_efiemu=no])