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:
committed by
Ralf Wildenhues
parent
5bfbb7f735
commit
c829a8884b
@@ -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,
|
||||
|
||||
+1
-1
@@ -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
|
||||
|
||||
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user