aboutsummaryrefslogtreecommitdiff
path: root/csu/Makefile
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 /csu/Makefile
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).
Diffstat (limited to 'csu/Makefile')
-rw-r--r--csu/Makefile2
1 files changed, 1 insertions, 1 deletions
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