* configure.ac: Use -nostdlib when probing for the target. It
should not be required to have libc for the target.
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
# 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"