From 585ba14df4799d50ec9682ce75825d2eafec2a6a Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Wed, 3 Jun 2015 02:00:44 -0400 Subject: [PATCH] add additional Makefile dependency rules for rcrt1.o PIE start file --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 3bd7b4d7..2eb7b308 100644 --- 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 -- 2.25.1