Update.
authorUlrich Drepper <drepper@redhat.com>
Wed, 13 Sep 2000 07:42:02 +0000 (07:42 +0000)
committerUlrich Drepper <drepper@redhat.com>
Wed, 13 Sep 2000 07:42:02 +0000 (07:42 +0000)
* csu/Makefile: Work around a gcc bug when creating csu-dummies.

ChangeLog
csu/Makefile

index 4ff9c73210ad10183df1c8dbc2cbd647da9f050b..b44814445cc5265da2343f368a8cf2904d125ec9 100644 (file)
--- 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>
index b57d3a723593928d3c4b8371dc3d3d1184d89c59..24e1ecd01ce01f8b1b80ae42510ccde68cb6a4e9 100644 (file)
@@ -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)