This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
A patch for java/Make-lang.in
- To: egcs-patches at cygnus dot com
- Subject: A patch for java/Make-lang.in
- From: hjl at lucon dot org (H.J. Lu)
- Date: Sun, 25 Oct 1998 09:46:39 -0800 (PST)
jv-scan is linked with `cat ../stamp-objlist`. But there is no
dependency in java/Make-lang.in. As the result, make fires
the jv-scan build before stamp-objlist is done when you do
parallel make. Here is a patch.
--
H.J. Lu (hjl@gnu.org)
--
Sun Oct 25 09:21:36 1998 H.J. Lu (hjl@gnu.org)
* Make-lang.in (jv-scan$(exeext)): Add stamp-objlist to
dependency.
Index: java/Make-lang.in
===================================================================
RCS file: /home/work/cvs/gnu/egcs/gcc/java/Make-lang.in,v
retrieving revision 1.1.1.5
diff -u -r1.1.1.5 Make-lang.in
--- Make-lang.in 1998/10/24 14:39:28 1.1.1.5
+++ Make-lang.in 1998/10/25 17:21:48
@@ -129,7 +129,7 @@
JV_SCAN_SOURCES = $(srcdir)/java/parse-scan.y $(srcdir)/java/lex.c \
$(srcdir)/java/parse.h $(srcdir)/java/lex.h $(srcdir)/java/jv-scan.c
-jv-scan$(exeext): $(JV_SCAN_SOURCES)
+jv-scan$(exeext): $(JV_SCAN_SOURCES) stamp-objlist
cd java && $(MAKE) $(FLAGS_TO_PASS) $(JAVA_FLAGS_TO_PASS) ../jv-scan$(exeext)
# This must be kept in sync with dependencies in Makefile.in.