make dynlink.lo depend on reloc.h in makefile
authorRich Felker <dalias@aerifal.cx>
Sun, 5 Aug 2012 16:32:20 +0000 (12:32 -0400)
committerRich Felker <dalias@aerifal.cx>
Sun, 5 Aug 2012 16:32:20 +0000 (12:32 -0400)
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".

Makefile

index ad701c9..683850d 100644 (file)
--- 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 $@ $<