diff options
Diffstat (limited to 'csu/Makefile')
-rw-r--r-- | csu/Makefile | 3 |
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) |