]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
2009-06-10 Pavel Roskin <proski@gnu.org>
authorproski <proski@localhost>
Wed, 10 Jun 2009 18:32:13 +0000 (18:32 +0000)
committerproski <proski@localhost>
Wed, 10 Jun 2009 18:32:13 +0000 (18:32 +0000)
* configure.ac: Use -nostdlib when probing for the target.  It
should not be required to have libc for the target.

ChangeLog
configure.ac

index 7b7d619620d399e0c521eadafa87af85611321ff..bbc2262feeab64d4db274fbcee4e442e7ca4b237 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2009-06-10  Pavel Roskin  <proski@gnu.org>
 
+       * 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
index 8ece3592b54dbfcae7cbaddf7cd3d5160e3bfea0..e29495a9736a357d6817160de7fa3d71a30e231a 100644 (file)
@@ -405,7 +405,7 @@ AC_SUBST(TARGET_LDFLAGS)
 
 # 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"