From 35678731d91410c60a9f00bce0d037b252e45044 Mon Sep 17 00:00:00 2001 From: James Brown Date: Sat, 2 Nov 2002 08:16:04 +0000 Subject: Revert back to revision 1.26. Fingolfin, this breaks compilation on linux gcc 2.9x.. debian at least. svn-id: r5372 --- Makefile.common | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile.common b/Makefile.common index 1621c0b6c1..4908c32a09 100644 --- a/Makefile.common +++ b/Makefile.common @@ -119,7 +119,10 @@ DEPFILES = $(wildcard $(patsubst %,%/$(DEPDIR)/*.d,$(MODULES))) .cpp.o: $(MKDIR) $(*D)/$(DEPDIR) - $(CXX) -Wp,-MMD,"$(*D)/$(DEPDIR)/$(*F).d",-MQ,"$@",-MP $(CFLAGS) $(CPPFLAGS) -c $(<) -o $*.o + $(CXX) -Wp,-MMD,"$(*D)/$(DEPDIR)/$(*F).d2" $(CFLAGS) $(CPPFLAGS) -c $(<) -o $*.o + $(ECHO) "$(*D)/" > $(*D)/$(DEPDIR)/$(*F).d + $(CAT) "$(*D)/$(DEPDIR)/$(*F).d2" >> "$(*D)/$(DEPDIR)/$(*F).d" + $(RM) "$(*D)/$(DEPDIR)/$(*F).d2" -include $(DEPFILES) /dev/null -- cgit v1.2.3