1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-09-01 05:02:03 +03:00

* csu/Makefile ($(csu-dummies) target rule): Don't use a temp C file.

Depend on $(before-compile).
This commit is contained in:
Roland McGrath
2003-05-04 23:27:34 +00:00
parent 4b0b588239
commit c6696b7957
6 changed files with 16 additions and 5 deletions

View File

@@ -179,11 +179,9 @@ $(addprefix $(objpfx),$(sort g$(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))):
@-rm -f $(@:.o=.c)
echo > $(@:.o=.c)
$(COMPILE.c) $(@:.o=.c) $(OUTPUT_OPTION)
rm -f $(@:.o=.c)
$(addprefix $(objpfx),$(filter-out $(start-installed-name),$(csu-dummies))):\
$(before-compile)
$(COMPILE.c) -o $@ -x c /dev/null
# These headers are used by the startup code.
$(objpfx)abi-tag.h: $(..)abi-tags