about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog9
-rw-r--r--csu/Makefile2
2 files changed, 10 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 84181de229..e2a57b1fc9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2003-05-04  Roland McGrath  <roland@redhat.com>
+
+	* csu/Makefile ($(objpfx)crt%.o): Replace implicit rule with a static
+	pattern rule.  The implicit rule could be ruled out when $(objpfx)
+	didn't exist at the time of its consideration (ugh!).
+
+	* Makerules (+make-deps): Fix target matching.
+	Use $(sed-remove-dotdot).
+
 2003-05-03  Ulrich Drepper  <drepper@redhat.com>
 
 	* nscd/nscd.c (main): Parse config file right after parsing
diff --git a/csu/Makefile b/csu/Makefile
index 2559993653..2adf57dfba 100644
--- a/csu/Makefile
+++ b/csu/Makefile
@@ -99,7 +99,7 @@ generated += $(crtstuff:=.S) initfini.s defs.h
 omit-deps += $(crtstuff)
 
 # Special rules for the building of crti.o and crtn.o
-$(objpfx)crt%.o: $(objpfx)crt%.S $(objpfx)defs.h
+$(crtstuff:%=$(objpfx)%.o): %.o: %.S $(objpfx)defs.h
 	$(compile.S) -g0 $(ASFLAGS-.os) -o $@
 
 CFLAGS-initfini.s = -g0 -fPIC -fno-inline-functions