summary refs log tree commit diff
path: root/csu/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'csu/Makefile')
-rw-r--r--csu/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/csu/Makefile b/csu/Makefile
index 1e457d6380..2fd2f81496 100644
--- a/csu/Makefile
+++ b/csu/Makefile
@@ -114,6 +114,9 @@ endif
 
 include ../Rules
 
+# Make these in the lib pass so they're available in time to link things with.
+subdir_lib: $(extra-objs:%=$(objpfx)%)
+
 define link-relocatable
 $(CC) -nostdlib -nostartfiles -r -o $@ $^
 endef