summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2015-06-03 02:00:44 -0400
committerRich Felker <dalias@aerifal.cx>2015-06-03 02:02:09 -0400
commit585ba14df4799d50ec9682ce75825d2eafec2a6a (patch)
tree58cca2d0d37bed54c6ee1753828b2e56298d42eb
parent2b4fcfdacf93c3dfd6ac15e31790a9e154374679 (diff)
downloadmusl-585ba14df4799d50ec9682ce75825d2eafec2a6a.tar.gz
musl-585ba14df4799d50ec9682ce75825d2eafec2a6a.tar.bz2
musl-585ba14df4799d50ec9682ce75825d2eafec2a6a.tar.xz
musl-585ba14df4799d50ec9682ce75825d2eafec2a6a.zip
add additional Makefile dependency rules for rcrt1.o PIE start file
-rw-r--r--Makefile6
1 files 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