summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)