This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
[ecj] Patch: FYI: fix -j bug
- From: Tom Tromey <tromey at redhat dot com>
- To: Java Patch List <java-patches at gcc dot gnu dot org>
- Date: 06 Oct 2006 16:47:38 -0600
- Subject: [ecj] Patch: FYI: fix -j bug
- Reply-to: tromey at redhat dot com
I'm checking this in on the gcj-eclipse branch.
Andrew pointed out a bug with 'make -j'.
I think this fixes it.
Tom
Index: ChangeLog
from Tom Tromey <tromey@redhat.com>
PR libgcj/29278:
* Makefile.in: Rebuilt.
* Makefile.am ($(generic_header_files)): Depend on gcjh.stamp.
(gcjh.stamp): New target.
Index: Makefile.am
===================================================================
--- Makefile.am (revision 117511)
+++ Makefile.am (working copy)
@@ -382,8 +382,11 @@
MYGCJH = gcjh1
-$(generic_header_files):
+$(generic_header_files): gcjh.stamp
+
+gcjh.stamp: classpath/lib/compile-classes
$(MYGCJH) --cni --all classpath/lib --cmdfile=$(srcdir)/headers.txt
+ echo > gcjh.stamp
inner_nat_headers = java/io/ObjectOutputStream$$PutField.h \
java/io/ObjectInputStream$$GetField.h \