aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2003-05-04 23:06:08 +0000
committerRoland McGrath <roland@gnu.org>2003-05-04 23:06:08 +0000
commit4b0b5882391d3286130125c5c50860ba22d46246 (patch)
tree53554eb677b97e3d5aded50f2a1bb5452be4e23a
parentb710b53daf90b79b7f1a6caab5092043dff17604 (diff)
downloadglibc-4b0b5882391d3286130125c5c50860ba22d46246.tar
glibc-4b0b5882391d3286130125c5c50860ba22d46246.tar.gz
glibc-4b0b5882391d3286130125c5c50860ba22d46246.tar.bz2
glibc-4b0b5882391d3286130125c5c50860ba22d46246.zip
* 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).
-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