2009-10-20 Robert Millan <rmh.grub@aybabtu.com>
Fix build on sparc64. * configure.ac: Perform checks for libgcc symbols before adding `-nostdlib' to LDFLAGS.
This commit is contained in:
parent
46695a62e6
commit
3b2fe8c285
2 changed files with 10 additions and 3 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2009-10-20 Robert Millan <rmh.grub@aybabtu.com>
|
||||||
|
|
||||||
|
Fix build on sparc64.
|
||||||
|
|
||||||
|
* configure.ac: Perform checks for libgcc symbols before
|
||||||
|
adding `-nostdlib' to LDFLAGS.
|
||||||
|
|
||||||
2009-10-16 Vladimir Serbinenko <phcoder@gmail.com>
|
2009-10-16 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
Let user specify OpenBSD root device.
|
Let user specify OpenBSD root device.
|
||||||
|
|
|
@ -411,6 +411,9 @@ AC_SUBST(TARGET_ASFLAGS)
|
||||||
AC_SUBST(TARGET_CPPFLAGS)
|
AC_SUBST(TARGET_CPPFLAGS)
|
||||||
AC_SUBST(TARGET_LDFLAGS)
|
AC_SUBST(TARGET_LDFLAGS)
|
||||||
|
|
||||||
|
# Check for libgcc symbols (must be performed before we add -nostdlib to LDFLAGS)
|
||||||
|
AC_CHECK_FUNCS(__bswapsi2 __bswapdi2)
|
||||||
|
|
||||||
# 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"
|
||||||
if test "x$TARGET_APPLE_CC" = x1 ; then
|
if test "x$TARGET_APPLE_CC" = x1 ; then
|
||||||
|
@ -421,9 +424,6 @@ fi
|
||||||
CPPFLAGS="$TARGET_CPPFLAGS"
|
CPPFLAGS="$TARGET_CPPFLAGS"
|
||||||
LDFLAGS="$TARGET_LDFLAGS"
|
LDFLAGS="$TARGET_LDFLAGS"
|
||||||
|
|
||||||
# Check for target functions.
|
|
||||||
AC_CHECK_FUNCS(__bswapsi2 __bswapdi2)
|
|
||||||
|
|
||||||
# Defined in aclocal.m4.
|
# Defined in aclocal.m4.
|
||||||
grub_PROG_TARGET_CC
|
grub_PROG_TARGET_CC
|
||||||
if test "x$TARGET_APPLE_CC" != x1 ; then
|
if test "x$TARGET_APPLE_CC" != x1 ; then
|
||||||
|
|
Loading…
Reference in a new issue