This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Parallel build fix
- To: gcc-patches at gcc dot gnu dot org
- Subject: Parallel build fix
- From: Brad Lucier <lucier at math dot purdue dot edu>
- Date: Sun, 18 Mar 2001 04:48:37 -0500 (EST)
- Cc: lucier at math dot purdue dot edu (Brad Lucier)
splay-tree.c includes config.h, which wasn't built by the time
an attempt was made to compile splay-tree.c in the gcc directory.
(splay-tree.c compiled OK in libiberty.) Perhaps this is a fix.
Bootstrapped on sparc-sun-solaris2.8.
Brad
* gcc/Makefile.in: Have splay-tree.o depend on $(CONFIG_H).
===================================================================
RCS file: RCS/Makefile.in,v
retrieving revision 1.1
diff -p -r1.1 Makefile.in
*** Makefile.in 2001/03/18 09:08:35 1.1
--- Makefile.in 2001/03/18 09:11:16
*************** strstr.o: $(srcdir)/../libiberty/strstr.
*** 1234,1240 ****
$(CC) -c $(ALL_CFLAGS) -DGENERATOR_FILE $(ALL_CPPFLAGS) $(INCLUDES) \
strstr.c $(OUTPUT_OPTION)
! splay-tree.o: $(srcdir)/../libiberty/splay-tree.c \
$(srcdir)/../include/splay-tree.h $(srcdir)/../include/libiberty.h
rm -f splay-tree.c
$(LN_S) $(srcdir)/../libiberty/splay-tree.c splay-tree.c
--- 1234,1240 ----
$(CC) -c $(ALL_CFLAGS) -DGENERATOR_FILE $(ALL_CPPFLAGS) $(INCLUDES) \
strstr.c $(OUTPUT_OPTION)
! splay-tree.o: $(srcdir)/../libiberty/splay-tree.c $(CONFIG_H)\
$(srcdir)/../include/splay-tree.h $(srcdir)/../include/libiberty.h
rm -f splay-tree.c
$(LN_S) $(srcdir)/../libiberty/splay-tree.c splay-tree.c