]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
2009-07-16 Pavel Roskin <proski@gnu.org>
authorproski <proski@localhost>
Thu, 16 Jul 2009 23:00:59 +0000 (23:00 +0000)
committerproski <proski@localhost>
Thu, 16 Jul 2009 23:00:59 +0000 (23:00 +0000)
* configure.ac: Never add "-c" to CFLAGS.

ChangeLog
configure.ac

index ac76fc0916ee02bdc097b2a5a83ad9b77be37ddd..e38ebc5f7053bedbb544d68ebc95207c15ea8158 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2009-07-16  Pavel Roskin  <proski@gnu.org>
 
+       * 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
index 34af5f58eea2009abc4bad37ddd02ec2c43838c0..90464036c6518c5257191d51889d8507ef93b3fe 100644 (file)
@@ -442,13 +442,13 @@ if test x"$enable_efiemu" = xno ; then
 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