commit-grub
[Top][All Lists]
Advanced

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

[2310] 2009-06-11 Pavel Roskin <address@hidden>


From: Pavel Roskin
Subject: [2310] 2009-06-11 Pavel Roskin <address@hidden>
Date: Thu, 11 Jun 2009 20:45:58 +0000

Revision: 2310
          http://svn.sv.gnu.org/viewvc/?view=rev&root=grub&revision=2310
Author:   proski
Date:     2009-06-11 20:45:58 +0000 (Thu, 11 Jun 2009)
Log Message:
-----------
2009-06-11  Pavel Roskin  <address@hidden>

        * configure.ac: Always define ___main if using -nostdlib.  This
        fixes tests on Cygwin.

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

Modified: trunk/grub2/ChangeLog
===================================================================
--- trunk/grub2/ChangeLog       2009-06-11 19:32:13 UTC (rev 2309)
+++ trunk/grub2/ChangeLog       2009-06-11 20:45:58 UTC (rev 2310)
@@ -1,3 +1,8 @@
+2009-06-11  Pavel Roskin  <address@hidden>
+
+       * configure.ac: Always define ___main if using -nostdlib.  This
+       fixes tests on Cygwin.
+
 2009-06-11  Giuseppe Caizzone  <address@hidden>
 
        UDF fix
@@ -2,5 +7,5 @@
 
-       * fs/udf.c (grub_udf_read_block): handle the fact that ad->length 
+       * fs/udf.c (grub_udf_read_block): handle the fact that ad->length
        is in bytes and not in blocks
-       
+
 2009-06-11  Pavel Roskin  <address@hidden>

Modified: trunk/grub2/configure.ac
===================================================================
--- trunk/grub2/configure.ac    2009-06-11 19:32:13 UTC (rev 2309)
+++ trunk/grub2/configure.ac    2009-06-11 20:45:58 UTC (rev 2310)
@@ -396,7 +396,7 @@
 
 # Set them to their new values for the tests below.
 CC="$TARGET_CC"
-CFLAGS="$TARGET_CFLAGS -nostdlib"
+CFLAGS="$TARGET_CFLAGS -nostdlib -Wl,--defsym,___main=0x8100"
 CPPFLAGS="$TARGET_CPPFLAGS"
 LDFLAGS="$TARGET_LDFLAGS"
 





reply via email to

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