* conf/sparc64-ieee1275.rmk (kernel_img_LDFLAGS): Link with
static libgcc. * configure.ac: Check for __bswapsi2 and __bswapdi2 presence. * include/grub/sparc64/libgcc.h (__bswapsi2): Export libgcc function, if present. (__bswapdi2): Likewise.
This commit is contained in:
parent
450e22389f
commit
a3f7515a6e
5 changed files with 26 additions and 3 deletions
|
@ -200,7 +200,7 @@ if test "$target_cpu"-"$platform" = i386-pc; then
|
|||
fi
|
||||
|
||||
# Check for functions.
|
||||
AC_CHECK_FUNCS(posix_memalign memalign asprintf)
|
||||
AC_CHECK_FUNCS(posix_memalign memalign asprintf __bswapsi2 __bswapdi2)
|
||||
|
||||
#
|
||||
# Check for target programs.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue