From: proski Date: Wed, 10 Jun 2009 18:32:13 +0000 (+0000) Subject: 2009-06-10 Pavel Roskin X-Git-Tag: 1.98~833 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=437e6adcb4263d2d543c473b4a970113456750cc;p=thirdparty%2Fgrub.git 2009-06-10 Pavel Roskin * configure.ac: Use -nostdlib when probing for the target. It should not be required to have libc for the target. --- diff --git a/ChangeLog b/ChangeLog index 7b7d61962..bbc2262fe 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2009-06-10 Pavel Roskin + * 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 diff --git a/configure.ac b/configure.ac index 8ece3592b..e29495a97 100644 --- a/configure.ac +++ b/configure.ac @@ -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"