Patch: automatic dependencies for gcc

Tom Tromey tromey@redhat.com
Wed Mar 26 13:53:00 GMT 2008


>>>>> "Richard" == Richard Guenther <richard.guenther@gmail.com> writes:

Richard> It seems that changes in builtins.def or builtin-types.def do
Richard> not cause re-builds of their dependencies.

I'm officially an idiot.  Patch appended.

A while back I was thinking, "I wish I got more response to my patches".
I'm kind of regretting that now.

Tom

ChangeLog:
2008-03-26  Tom Tromey  <tromey@redhat.com>

	* Makefile.in (DEPFILES): Add missing '/'.

Index: Makefile.in
===================================================================
--- Makefile.in	(revision 133527)
+++ Makefile.in	(working copy)
@@ -3270,7 +3270,7 @@
 # Include the auto-generated dependencies for all host objects.
 DEPFILES = \
   $(foreach obj,$(ALL_HOST_OBJS),\
-    $(dir $(obj))$(DEPDIR)$(patsubst %.o,%.Po,$(notdir $(obj))))
+    $(dir $(obj))$(DEPDIR)/$(patsubst %.o,%.Po,$(notdir $(obj))))
 -include $(DEPFILES)
 
 # Include the auto-generated dependencies for all build objects.



More information about the Gcc-patches mailing list