This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[ecj] Patch: FYI: fix -j bug


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 \


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]