commit-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[2343] 2009-06-18 Vladimir Serbinenko <address@hidden>


From: Vladimir Serbinenko
Subject: [2343] 2009-06-18 Vladimir Serbinenko <address@hidden>
Date: Thu, 18 Jun 2009 14:25:51 +0000

Revision: 2343
          http://svn.sv.gnu.org/viewvc/?view=rev&root=grub&revision=2343
Author:   phcoder
Date:     2009-06-18 14:25:51 +0000 (Thu, 18 Jun 2009)
Log Message:
-----------
2009-06-18  Vladimir Serbinenko  <address@hidden>

        Fix build with Apple's toolchain. Part 2

        * aclocal.m4 (grub_PROG_TARGET_CC): add missing prototype for main and
        a fake start

Modified Paths:
--------------
    trunk/grub2/ChangeLog
    trunk/grub2/aclocal.m4

Modified: trunk/grub2/ChangeLog
===================================================================
--- trunk/grub2/ChangeLog       2009-06-18 14:02:23 UTC (rev 2342)
+++ trunk/grub2/ChangeLog       2009-06-18 14:25:51 UTC (rev 2343)
@@ -1,5 +1,12 @@
 2009-06-18  Vladimir Serbinenko  <address@hidden>
 
+       Fix build with Apple's toolchain. Part 2
+
+       * aclocal.m4 (grub_PROG_TARGET_CC): add missing prototype for main and
+       a fake start
+
+2009-06-18  Vladimir Serbinenko  <address@hidden>
+
        Fix build with Apple's toolchain. Part 1
 
        * commands/i386/pc/drivemap_int13h.S: use assembly-time constants

Modified: trunk/grub2/aclocal.m4
===================================================================
--- trunk/grub2/aclocal.m4      2009-06-18 14:02:23 UTC (rev 2342)
+++ trunk/grub2/aclocal.m4      2009-06-18 14:25:51 UTC (rev 2343)
@@ -2,7 +2,10 @@
 AC_DEFUN(grub_PROG_TARGET_CC,
 [AC_MSG_CHECKING([whether target compiler is working])
 AC_CACHE_VAL(grub_cv_prog_target_cc,
-[AC_LINK_IFELSE([AC_LANG_PROGRAM([[]], [[]])],
+[AC_LINK_IFELSE([AC_LANG_PROGRAM([[
+asm (".globl start; start: nop");
+int main (void);
+]], [[]])],
                [grub_cv_prog_target_cc=yes],
                [grub_cv_prog_target_cc=no])
 ])





reply via email to

[Prev in Thread] Current Thread [Next in Thread]