Makefile.in problem with libcpp.a

Richard Kenner kenner@vlsi1.ultra.nyu.edu
Sun Feb 27 04:39:00 GMT 2000


The recent change to remove cppalloc.c caused me a build failure because
the Makefile left cppalloc.o in libcpp.a.  I committed the follow patch
to fix it:

Sun Feb 27 07:44:17 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>

	* Makefile.in (libcpp.a): Start by deleting it.

*** Makefile.in	2000/02/27 00:10:13	1.391
--- Makefile.in	2000/02/27 12:32:14
*************** LIBCPP_OBJS =	cpplib.o cpphash.o cpperro
*** 2028,2031 ****
--- 2028,2032 ----
  #
  libcpp.a: $(LIBCPP_OBJS)
+ 	-rm -rf libcpp.a
  	$(AR) $(AR_FLAGS) libcpp.a $(LIBCPP_OBJS)
  	if $(RANLIB_TEST) ; then $(RANLIB) libcpp.a ; else true ; fi


More information about the Gcc-patches mailing list