Fix library dependencies for -Wl,--as-needed.
gcc/: PR bootstrap/40928 * configure.ac: Use $LIBS for '-ldl', not $LDFLAGS. * configure: Regenerate. libjava/: PR libgcj/38298 * Makefile.am (libgcj_tools_la_LIBADD): Add '-lm'. * Makefile.in: Regenerate. From-SVN: r152215
This commit is contained in:
parent
5bfbb7f735
commit
c829a8884b
@ -1,3 +1,9 @@
|
||||
2009-09-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
||||
|
||||
PR bootstrap/40928
|
||||
* configure.ac: Use $LIBS for '-ldl', not $LDFLAGS.
|
||||
* configure: Regenerate.
|
||||
|
||||
2009-09-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
|
||||
|
||||
* doc/install.texi: Update minimum MPC version to 0.7.
|
||||
|
2
gcc/configure
vendored
2
gcc/configure
vendored
@ -24952,7 +24952,7 @@ rm -f core conftest.err conftest.$ac_objext \
|
||||
fi
|
||||
|
||||
# Check -ldl
|
||||
LDFLAGS="$LDFLAGS -ldl"
|
||||
LIBS="$LIBS -ldl"
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldl" >&5
|
||||
$as_echo_n "checking for -ldl... " >&6; }
|
||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||
|
@ -4228,7 +4228,7 @@ if test x"$enable_plugin" = x"yes"; then
|
||||
fi
|
||||
|
||||
# Check -ldl
|
||||
LDFLAGS="$LDFLAGS -ldl"
|
||||
LIBS="$LIBS -ldl"
|
||||
AC_MSG_CHECKING([for -ldl])
|
||||
AC_TRY_LINK(
|
||||
[#include <dlfcn.h>],
|
||||
|
@ -1,3 +1,9 @@
|
||||
2009-09-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
||||
|
||||
PR libgcj/38298
|
||||
* Makefile.am (libgcj_tools_la_LIBADD): Add '-lm'.
|
||||
* Makefile.in: Regenerate.
|
||||
|
||||
2009-09-22 Dave Korn <dave.korn.cygwin@gmail.com>
|
||||
|
||||
* configure.host (enable_libgcj_sublibs_default): New variable,
|
||||
|
@ -496,7 +496,7 @@ libgcj_tools_la_GCJFLAGS = $(AM_GCJFLAGS) -findirect-dispatch \
|
||||
libgcj_tools_la_LDFLAGS = -rpath $(toolexeclibdir) \
|
||||
-version-info `grep -v '^\#' $(srcdir)/libtool-version` \
|
||||
$(LIBGCJ_LD_SYMBOLIC_FUNCTIONS) -no-undefined -bindir $(bindir)
|
||||
libgcj_tools_la_LIBADD = libgcj.la
|
||||
libgcj_tools_la_LIBADD = libgcj.la -lm
|
||||
libgcj_tools_la_DEPENDENCIES = libgcj.la libgcj.spec
|
||||
if BUILD_SUBLIBS
|
||||
libgcj_tools_la_DEPENDENCIES += libgcj-noncore.la
|
||||
|
@ -1187,7 +1187,7 @@ libgcj_tools_la_LDFLAGS = -rpath $(toolexeclibdir) \
|
||||
-version-info `grep -v '^\#' $(srcdir)/libtool-version` \
|
||||
$(LIBGCJ_LD_SYMBOLIC_FUNCTIONS) -no-undefined -bindir $(bindir)
|
||||
|
||||
libgcj_tools_la_LIBADD = libgcj.la
|
||||
libgcj_tools_la_LIBADD = libgcj.la -lm
|
||||
libgcj_tools_la_DEPENDENCIES = libgcj.la libgcj.spec $(am__append_22)
|
||||
libgcj_tools_la_LINK = $(LIBLINK) $(libgcj_tools_la_LDFLAGS)
|
||||
libjvm_la_SOURCES = jni-libjvm.cc
|
||||
|
Loading…
Reference in New Issue
Block a user