summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--Makeconfig2
-rw-r--r--manual/Makefile2
2 files changed, 2 insertions, 2 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
diff --git a/manual/Makefile b/manual/Makefile
index cc85d4c8bf..a6cd048d6e 100644
--- a/manual/Makefile
+++ b/manual/Makefile
@@ -36,7 +36,7 @@ endif
 chapters: libc.texinfo
 	$(find-includes)
 ifdef chapters
-include chapters-incl
+-include chapters-incl
 chapters-incl: $(chapters)
 	$(find-includes)
 chapters-incl := $(filter-out summary.texi,$(chapters-incl))