summaryrefslogtreecommitdiff
path: root/libjava/Makefile.in
diff options
context:
space:
mode:
authorrwild <rwild@138bc75d-0d04-0410-961f-82ee72b054a4>2009-09-27 06:49:33 +0000
committerrwild <rwild@138bc75d-0d04-0410-961f-82ee72b054a4>2009-09-27 06:49:33 +0000
commit295fba81d7ad59f8f3a0e0ccb309b5d99046eadb (patch)
tree447040d312e28c4aba6b8805f1c6913013244950 /libjava/Makefile.in
parentbdb4507a2e8c50385dea1bdd5a24812ed3691f73 (diff)
downloadgcc-295fba81d7ad59f8f3a0e0ccb309b5d99046eadb.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@152215 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/Makefile.in')
-rw-r--r--libjava/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/Makefile.in b/libjava/Makefile.in
index 83c4c606975..8c093738e34 100644
--- a/libjava/Makefile.in
+++ b/libjava/Makefile.in
@@ -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