summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-08-05 12:32:20 -0400
committerRich Felker <dalias@aerifal.cx>2012-08-05 12:32:20 -0400
commitd04378016bfc993d8727215d79567a1c52904ade (patch)
tree45dd050aa137d37d9b84df616599cfc0029d4c61
parent87d13a4c33b8f75afac357f46341847ac92e2978 (diff)
downloadmusl-d04378016bfc993d8727215d79567a1c52904ade.tar.gz
musl-d04378016bfc993d8727215d79567a1c52904ade.tar.bz2
musl-d04378016bfc993d8727215d79567a1c52904ade.tar.xz
musl-d04378016bfc993d8727215d79567a1c52904ade.zip
make dynlink.lo depend on reloc.h in makefile
this is mainly a development convenience but will also ensure users building from latest git always get up-to-date arch-specific dynamic linker code without having to "make clean".
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index ad701c90..683850d3 100644
--- a/Makefile
+++ b/Makefile
@@ -77,6 +77,8 @@ include/bits/alltypes.h.sh: include/bits
include/bits/alltypes.h: include/bits/alltypes.h.sh
sh $< > $@
+src/ldso/dynlink.lo: arch/$(ARCH)/reloc.h
+
%.o: $(ARCH)/%.s
$(CC) $(CFLAGS_ALL_STATIC) -c -o $@ $<