Revision: 2290
http://svn.sv.gnu.org/viewvc/?view=rev&root=grub&revision=2290
Author: proski
Date: 2009-06-10 18:32:13 +0000 (Wed, 10 Jun 2009)
Log Message:
-----------
2009-06-10 Pavel Roskin <[email protected]>
* configure.ac: Use -nostdlib when probing for the target. It
should not be required to have libc for the target.
Modified Paths:
--------------
trunk/grub2/ChangeLog
trunk/grub2/configure.ac
Modified: trunk/grub2/ChangeLog
===================================================================
--- trunk/grub2/ChangeLog 2009-06-10 18:26:50 UTC (rev 2289)
+++ trunk/grub2/ChangeLog 2009-06-10 18:32:13 UTC (rev 2290)
@@ -1,5 +1,8 @@
2009-06-10 Pavel Roskin <[email protected]>
+ * configure.ac: Use -nostdlib when probing for the target. It
+ should not be required to have libc for the target.
+
* configure.ac: Remove checks for __bswapsi2 and __bswapdi2,
they fail without libc headers for the target.
* include/grub/powerpc/libgcc.h: Use weak attribute for all
Modified: trunk/grub2/configure.ac
===================================================================
--- trunk/grub2/configure.ac 2009-06-10 18:26:50 UTC (rev 2289)
+++ trunk/grub2/configure.ac 2009-06-10 18:32:13 UTC (rev 2290)
@@ -405,7 +405,7 @@
# Set them to their new values for the tests below.
CC="$TARGET_CC"
-CFLAGS="$TARGET_CFLAGS"
+CFLAGS="$TARGET_CFLAGS -nostdlib"
CPPFLAGS="$TARGET_CPPFLAGS"
LDFLAGS="$TARGET_LDFLAGS"