about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--linuxthreads/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/linuxthreads/Makefile b/linuxthreads/Makefile
index b3f66ff9da..4dce3133af 100644
--- a/linuxthreads/Makefile
+++ b/linuxthreads/Makefile
@@ -137,7 +137,10 @@ $(objpfx)defs.h: $(objpfx)pt-initfini.s
 	sed -n -e '/@TESTS_BEGIN/,/@TESTS_END/p' $< | \
 		$(AWK) -f ../csu/defs.awk > $@
 
-$(objpfx)crt%.o: $(objpfx)crt%.S $(objpfx)defs.h
+$(objpfx)crti.o: $(objpfx)crti.S $(objpfx)defs.h
+	$(compile.S) -g0 $(ASFLAGS-.os) -o $@
+
+$(objpfx)crtn.o: $(objpfx)crtn.S $(objpfx)defs.h
 	$(compile.S) -g0 $(ASFLAGS-.os) -o $@
 
 generated += crti.S crtn.S defs.h pt-initfini.s