summaryrefslogtreecommitdiff
path: root/Makeconfig
diff options
context:
space:
mode:
Diffstat (limited to 'Makeconfig')
-rw-r--r--Makeconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makeconfig b/Makeconfig
index de883ccea5..5b4393d357 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -298,7 +298,7 @@ endif
ifndef +link
+link = $(CC) -nostdlib -nostartfiles -o $@ \
$(sysdep-LDFLAGS) $(config-LDFLAGS) $(LDFLAGS) \
- $(+preinit) \
+ $(addprefix $(csu-objpfx),start.o) $(+preinit) \
$(filter-out $(common-objpfx)libc%,$^) $(link-libc) \
$(+postinit)
endif