add additional Makefile dependency rules for rcrt1.o PIE start file
authorRich Felker <dalias@aerifal.cx>
Wed, 3 Jun 2015 06:00:44 +0000 (02:00 -0400)
committerRich Felker <dalias@aerifal.cx>
Wed, 3 Jun 2015 06:02:09 +0000 (02:02 -0400)
Makefile

index 3bd7b4d79e46bc17a15b9b12ac0e744d15ad43bb..2eb7b3084589207e99662087d3bd1dc66fa103f8 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -85,9 +85,11 @@ src/internal/version.h: $(wildcard VERSION .git)
 
 src/internal/version.lo: src/internal/version.h
 
-src/ldso/dlstart.lo src/ldso/dynlink.lo: src/internal/dynlink.h arch/$(ARCH)/reloc.h
+crt/rcrt1.o src/ldso/dlstart.lo src/ldso/dynlink.lo: src/internal/dynlink.h arch/$(ARCH)/reloc.h
 
-crt/crt1.o crt/Scrt1.o src/ldso/dlstart.lo: $(wildcard arch/$(ARCH)/crt_arch.h)
+crt/crt1.o crt/Scrt1.o crt/rcrt1.o src/ldso/dlstart.lo: $(wildcard arch/$(ARCH)/crt_arch.h)
+
+crt/rcrt1.o: src/ldso/dlstart.c
 
 crt/Scrt1.o crt/rcrt1.o: CFLAGS += -fPIC