[PATCH] - Fix bogus dependency in Makefile.in

Jason Merrill jason@redhat.com
Mon Jul 10 00:07:00 GMT 2000


Marc Espie <espie@bonnie.liafa.jussieu.fr> writes:

> This is a mistake I had fixed earlier.
> You can't depend on $(LANGUAGES), this is NOT a real dependency.
> Depending on $(LANGUAGES) only ensures that the target is always,
> ALWAYS rebuilt.
> 
> For instance, for libgcc.a, this means the library is built ONCE
> for make bootstrap. And a second time for make install.

No, it means that we recurse into libgcc.mk multiple times.  But
libgcc.mk has proper dependencies, so we shouldn't actually rebuild
anything.  Really, we might as well just depend on force in the main
Makefile rather than bother trying to keep the dependencies up to date.
Make sense?

Jason


More information about the Gcc-patches mailing list