public inbox for java-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* Patch: FYI: fix PR 26625
@ 2006-04-05 22:11 Tom Tromey
  0 siblings, 0 replies; only message in thread
From: Tom Tromey @ 2006-04-05 22:11 UTC (permalink / raw)
  To: Java Patch List; +Cc: classpath-patches

I'm checking this in on the trunk and the 4.1 branch.

This fixes PR 26625: we don't rebuild libgcj.jar if a .java file
changes.

I'm checking the Classpath part of this patch in to Classpath as well.

Tom

Index: classpath/ChangeLog.gcj
from  Tom Tromey  <tromey@redhat.com>
	PR libgcj/26625:
	* lib/Makefile.in: Rebuilt.
	* lib/Makefile.am (compile-classes): Touch the output file.

Index: ChangeLog
from  Tom Tromey  <tromey@redhat.com>
	PR libgcj/26625:
	* Makefile.in: Rebuilt.
	* Makefile.am (libgcj-$(gcc_version).jar): Depend on
	classpath/lib/compile-classes.

Index: classpath/lib/Makefile.am
===================================================================
--- classpath/lib/Makefile.am	(revision 112714)
+++ classpath/lib/Makefile.am	(working copy)
@@ -133,6 +133,7 @@
 	  GCJ='$(GCJ)' \
 	  compile_classpath='$(top_builddir):$(compile_classpath)' \
 	  top_srcdir=$(top_srcdir)
+	touch compile-classes
 else
 compile-classes: classes $(JAVA_SRCS) Makefile
 	$(JAVAC)
Index: Makefile.am
===================================================================
--- Makefile.am	(revision 112714)
+++ Makefile.am	(working copy)
@@ -324,7 +324,7 @@
 	$(mkinstalldirs) `dirname $@`; \
 	$(LTGCJCOMPILE) -o $@ -c $< -Wc,--resource,$(@:.lo=)
 
-libgcj-$(gcc_version).jar:
+libgcj-$(gcc_version).jar: classpath/lib/compile-classes
 	jardir=`dirname $(ZIP)`; \
 	jardir=`cd $$jardir && pwd`; \
 	jarname=`basename $(ZIP)`; \

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-04-05 22:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-05 22:11 Patch: FYI: fix PR 26625 Tom Tromey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).