about summary refs log tree commit diff
path: root/csu
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-09-13 07:42:02 +0000
committerUlrich Drepper <drepper@redhat.com>2000-09-13 07:42:02 +0000
commit875fc7830131521c46413a69543d962b5337d6ca (patch)
tree4726e8f7c8f09b55c61ce7d147e64841fc4f5517 /csu
parentda0fdef0e468c5b4aacb5adad5949af8cb60ea6c (diff)
downloadglibc-875fc7830131521c46413a69543d962b5337d6ca.tar.gz
glibc-875fc7830131521c46413a69543d962b5337d6ca.tar.xz
glibc-875fc7830131521c46413a69543d962b5337d6ca.zip
Update.
	* csu/Makefile: Work around a gcc bug when creating csu-dummies.
Diffstat (limited to 'csu')
-rw-r--r--csu/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/csu/Makefile b/csu/Makefile
index b57d3a7235..24e1ecd01c 100644
--- a/csu/Makefile
+++ b/csu/Makefile
@@ -158,7 +158,8 @@ $(objpfx)g$(start-installed-name): $(objpfx)$(start-installed-name) \
 # These extra files are sometimes expected by system standard linking
 # procedures, but we have nothing for them to do.  So compile empty files.
 $(addprefix $(objpfx),$(filter-out $(start-installed-name),$(csu-dummies))):
-	cp /dev/null $(@:.o=.c)
+	@-rm -f $(@:.o=.c)
+	echo > $(@:.o=.c)
 	$(COMPILE.c) $(@:.o=.c) $(OUTPUT_OPTION)
 	rm -f $(@:.o=.c)