* csu/Makefile: Work around a gcc bug when creating csu-dummies.
This commit is contained in:
Ulrich Drepper 2000-09-13 07:42:02 +00:00
parent da0fdef0e4
commit 875fc78301
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,7 @@
2000-09-13 Ulrich Drepper <drepper@redhat.com> 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. * sysdeps/unix/sysv/linux/getdents.c: Pretty print.
2000-09-01 Jes Sorensen <jes@linuxcare.com> 2000-09-01 Jes Sorensen <jes@linuxcare.com>

View File

@ -158,7 +158,8 @@ $(objpfx)g$(start-installed-name): $(objpfx)$(start-installed-name) \
# These extra files are sometimes expected by system standard linking # These extra files are sometimes expected by system standard linking
# procedures, but we have nothing for them to do. So compile empty files. # procedures, but we have nothing for them to do. So compile empty files.
$(addprefix $(objpfx),$(filter-out $(start-installed-name),$(csu-dummies))): $(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) $(COMPILE.c) $(@:.o=.c) $(OUTPUT_OPTION)
rm -f $(@:.o=.c) rm -f $(@:.o=.c)