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


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

Parallel build fix


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


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