Revision: 2425
          http://svn.sv.gnu.org/viewvc/?view=rev&root=grub&revision=2425
Author:   proski
Date:     2009-07-16 23:00:59 +0000 (Thu, 16 Jul 2009)
Log Message:
-----------
2009-07-16  Pavel Roskin  <[email protected]>

        * configure.ac: Never add "-c" to CFLAGS.

Modified Paths:
--------------
    trunk/grub2/ChangeLog
    trunk/grub2/configure.ac

Modified: trunk/grub2/ChangeLog
===================================================================
--- trunk/grub2/ChangeLog       2009-07-16 22:43:58 UTC (rev 2424)
+++ trunk/grub2/ChangeLog       2009-07-16 23:00:59 UTC (rev 2425)
@@ -1,5 +1,7 @@
 2009-07-16  Pavel Roskin  <[email protected]>
 
+       * configure.ac: Never add "-c" to CFLAGS.
+
        * configure.ac: Fix incorrect comparison for grub_cv_cc_efiemu.
 
        * configure.ac: Fix wrong use of grub_cv_cc_no_red_zone where

Modified: trunk/grub2/configure.ac
===================================================================
--- trunk/grub2/configure.ac    2009-07-16 22:43:58 UTC (rev 2424)
+++ trunk/grub2/configure.ac    2009-07-16 23:00:59 UTC (rev 2425)
@@ -442,13 +442,13 @@
 fi
 if test x"$efiemu_excuse" = x ; then
   AC_CACHE_CHECK([whether options required for efiemu work], 
grub_cv_cc_efiemu, [
-    CFLAGS="$CFLAGS -m64 -mcmodel=large -mno-red-zone -nostdlib -c"
+    CFLAGS="$CFLAGS -m64 -mcmodel=large -mno-red-zone -nostdlib"
     AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[]])],
                      [grub_cv_cc_efiemu=yes],
                      [grub_cv_cc_efiemu=no])
   ])
   if test x$grub_cv_cc_efiemu = xno; then
-     efiemu_excuse="compiler doesn't support compiling with -m64 
-mcmodel=large -mno-red-zone -nostdlib -c"
+     efiemu_excuse="compiler doesn't support compiling with -m64 
-mcmodel=large -mno-red-zone -nostdlib"
   fi
 fi
 if test x"$enable_efiemu" = xyes && test x"$efiemu_excuse" != x ; then



Reply via email to