about summary refs log tree commit diff
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
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.
-rw-r--r--ChangeLog2
-rw-r--r--csu/Makefile3
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 4ff9c73210..b44814445c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2000-09-13  Ulrich Drepper  <drepper@redhat.com>
 
+	* csu/Makefile: Work around a gcc bug when creating csu-dummies.
+
 	* sysdeps/unix/sysv/linux/getdents.c: Pretty print.
 
 2000-09-01  Jes Sorensen  <jes@linuxcare.com>
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)