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:
parent
06a6836c58
commit
437e6adcb4
2 changed files with 4 additions and 1 deletions
|
@ -1,5 +1,8 @@
|
||||||
2009-06-10 Pavel Roskin <proski@gnu.org>
|
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,
|
* configure.ac: Remove checks for __bswapsi2 and __bswapdi2,
|
||||||
they fail without libc headers for the target.
|
they fail without libc headers for the target.
|
||||||
* include/grub/powerpc/libgcc.h: Use weak attribute for all
|
* include/grub/powerpc/libgcc.h: Use weak attribute for all
|
||||||
|
|
|
@ -405,7 +405,7 @@ AC_SUBST(TARGET_LDFLAGS)
|
||||||
|
|
||||||
# Set them to their new values for the tests below.
|
# Set them to their new values for the tests below.
|
||||||
CC="$TARGET_CC"
|
CC="$TARGET_CC"
|
||||||
CFLAGS="$TARGET_CFLAGS"
|
CFLAGS="$TARGET_CFLAGS -nostdlib"
|
||||||
CPPFLAGS="$TARGET_CPPFLAGS"
|
CPPFLAGS="$TARGET_CPPFLAGS"
|
||||||
LDFLAGS="$TARGET_LDFLAGS"
|
LDFLAGS="$TARGET_LDFLAGS"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue