aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tromey@cygnus.com>1999-05-11 13:03:47 +0000
committerTom Tromey <tromey@gcc.gnu.org>1999-05-11 13:03:47 +0000
commit81d4a0726cd05bf49b5b165ed3ed04bd72f5674b (patch)
tree270388993f0357f54dca1329bb39faa4b1f00861
parent8db9d08ba1b4ea1d3d4f080973a32c7e961e236c (diff)
downloadgcc-81d4a0726cd05bf49b5b165ed3ed04bd72f5674b.zip
gcc-81d4a0726cd05bf49b5b165ed3ed04bd72f5674b.tar.gz
gcc-81d4a0726cd05bf49b5b165ed3ed04bd72f5674b.tar.bz2
Makefile.in: Rebuilt.
* Makefile.in: Rebuilt. * Makefile.am (jv_convert_DEPENDENCIES): Include libgcj.spec. * libgcj.spec.in: Don't use `+'. Instead, put old lib spec after our libraries. From-SVN: r26889
-rw-r--r--libjava/ChangeLog5
-rw-r--r--libjava/Makefile.am4
-rw-r--r--libjava/Makefile.in2
-rw-r--r--libjava/libgcj.spec.in4
4 files changed, 11 insertions, 4 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog
index 6613033..f07a5c6 100644
--- a/libjava/ChangeLog
+++ b/libjava/ChangeLog
@@ -1,6 +1,11 @@
1999-05-11 Tom Tromey <tromey@cygnus.com>
* Makefile.in: Rebuilt.
+ * Makefile.am (jv_convert_DEPENDENCIES): Include libgcj.spec.
+ * libgcj.spec.in: Don't use `+'. Instead, put old lib spec after
+ our libraries.
+
+ * Makefile.in: Rebuilt.
* Makefile.am (jv_convert_LDADD): Removed `-L.'; it is not needed
and it causes problems with libtool.
diff --git a/libjava/Makefile.am b/libjava/Makefile.am
index 616f375..4a01079 100644
--- a/libjava/Makefile.am
+++ b/libjava/Makefile.am
@@ -270,8 +270,10 @@ jv_convert_LINK = $(LIBTOOL) --mode=link $(GCJ) $(JC1FLAGS) $(LDFLAGS) \
## system libraries we need (via the specs file).
jv_convert_LDADD = $(convert_source_files:.java=.lo) libgcj.la \
$(GCLIBS) $(THREADLIBS) $(ZLIBS)
+## Depend on the spec file to make sure it is up to date before
+## linking this program.
jv_convert_DEPENDENCIES = $(convert_source_files:.java=.lo) \
- $(GCDEPS) $(THREADDEPS) $(ZDEPS) libgcj.la
+ $(GCDEPS) $(THREADDEPS) $(ZDEPS) libgcj.la libgcj.spec
# The Unicode consortium does not permit re-distributing the file JIS0201.TXT.
# You can get it from ftp://ftp.unicode.org/Public/MAPPINGS/EASTASIA/JIS/.
diff --git a/libjava/Makefile.in b/libjava/Makefile.in
index 09aabc5..760fbc3 100644
--- a/libjava/Makefile.in
+++ b/libjava/Makefile.in
@@ -202,7 +202,7 @@ jv_convert_LDADD = $(convert_source_files:.java=.lo) libgcj.la \
$(GCLIBS) $(THREADLIBS) $(ZLIBS)
jv_convert_DEPENDENCIES = $(convert_source_files:.java=.lo) \
- $(GCDEPS) $(THREADDEPS) $(ZDEPS) libgcj.la
+ $(GCDEPS) $(THREADDEPS) $(ZDEPS) libgcj.la libgcj.spec
gen_from_JIS_SOURCES =
diff --git a/libjava/libgcj.spec.in b/libjava/libgcj.spec.in
index fae8a6a..24ee578 100644
--- a/libjava/libgcj.spec.in
+++ b/libjava/libgcj.spec.in
@@ -3,5 +3,5 @@
# It is used to specify the standard libraries we need in order
# to link with libgcj.
#
-# We need a space after the `+' to placate gcc.
-*lib: + -lgcj -lm @GCSPEC@ @THREADSPEC@ @ZLIBSPEC@ @SYSTEMSPEC@
+%rename lib liborig
+*lib: -lgcj -lm @GCSPEC@ @THREADSPEC@ @ZLIBSPEC@ @SYSTEMSPEC@ %(liborig)