summaryrefslogtreecommitdiff
path: root/Makeconfig
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-02-12 10:23:47 +0000
committerRoland McGrath <roland@gnu.org>1996-02-12 10:23:47 +0000
commit1fe58993bc8d1ccb8e6acaa5ad6618bafe5e30b6 (patch)
treec0f4f5d9f48d41683243b540bdc04e80204f14fb /Makeconfig
parent63f89404026453219f74d425b0fb58a1fe59294b (diff)
* sysdeps/unix/sysv/syscalls.list: Add setrlimit and settimeofday,
so real syscalls override unix/sysv/*.c on sysv-derived systems that have them. * sysdeps/unix/common/syscalls.list: Add settimeofday here, to override unix/sysv/settimeofday.c since that overrides unix/syscalls.list. * Makeconfig (+link): Put $(link-libc) after deps from $^, regardless of where libc.a appears in the deps.
Diffstat (limited to 'Makeconfig')
-rw-r--r--Makeconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makeconfig b/Makeconfig
index 22e0007c17..b991f9d492 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -281,7 +281,7 @@ ifndef +link
+link = $(CC) -nostdlib -nostartfiles -o $@ \
$(sysdep-LDFLAGS) $(config-LDFLAGS) $(LDFLAGS) \
$(addprefix $(csu-objpfx),start.o $(+preinit)) \
- $(^:$(common-objpfx)libc%=$(link-libc)) \
+ $(filter-out $(common-objpfx)libc%,$^) $(link-libc) \
$(addprefix $(csu-objpfx),$(+postinit))
endif
ifndef config-LDFLAGS