summaryrefslogtreecommitdiff
path: root/Makeconfig
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1996-09-08 02:16:48 +0000
committerUlrich Drepper <drepper@redhat.com>1996-09-08 02:16:48 +0000
commitc2bb8cabc58851b00d43c15ed4c37ac393a3465b (patch)
tree73424f4d55e90248702e4147105c6853b31350ef /Makeconfig
parent8ca5c11bdfa4c5cc6ef75d048340f8854c8b3eaf (diff)
downloadglibc-c2bb8cabc58851b00d43c15ed4c37ac393a3465b.tar.gz
third update from main archive 960907cvs/libc-960909cvs/libc-960908
Sat Sep 7 18:41:17 1996 Richard Henderson <rth@tamu.edu> * Makeconfig (+link): Filter out start, pre & postinit from the generic depenancies as well. * Rules: Add start, pre & postinit to the dependancies of $(others) and $(tests). * configure.in: elf_dirs missing "sysdeps" component. * locale/Makefile (distribute): Add locale.c and localedef.c.
Diffstat (limited to 'Makeconfig')
-rw-r--r--Makeconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makeconfig b/Makeconfig
index 38589e7ebe..3134132fcc 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -303,7 +303,8 @@ ifndef +link
+link = $(CC) -nostdlib -nostartfiles -o $@ \
$(sysdep-LDFLAGS) $(config-LDFLAGS) $(LDFLAGS) \
$(addprefix $(csu-objpfx),start.o) $(+preinit) \
- $(filter-out $(common-objpfx)libc%,$^) \
+ $(filter-out $(addprefix $(csu-objpfx),start.o) $(+preinit) \
+ $(link-extra-libs) $(common-objpfx)libc% $(+postinit),$^) \
$(link-extra-libs) $(link-libc) $(+postinit)
endif
ifndef config-LDFLAGS