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.
This commit is contained in:
proski 2009-06-10 18:32:13 +00:00
parent 06a6836c58
commit 437e6adcb4
2 changed files with 4 additions and 1 deletions

View File

@ -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

View 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"