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

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