diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2010-06-08 23:21:09 +0200 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2010-06-08 23:21:09 +0200 |
commit | 0ee65752ee4c023a70d134919ec7604273e46cdb (patch) | |
tree | 4ae98aea2e82e99973f3eeb891b59d12108b0434 | |
parent | 85998f8b7b0b50729c3b0bc491aa995f799e5637 (diff) |
do not generate garbled interp
for parallel make
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
-rw-r--r-- | Makerules | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -326,10 +326,11 @@ $(top_builddir)%.dep: $(top_builddir)lib/interp.c: | $(sub_headers) $(Q)$(INSTALL) -d $(dir $@) - $(Q)echo "/* Force shared libraries to know about the correct library loader */" > $@ - $(Q)echo "#include <features.h>" >> $@ + $(Q)echo "/* Force shared libraries to know about the correct library loader */" > $@.tmp + $(Q)echo "#include <features.h>" >> $@.tmp $(Q)echo "const char __dl_ldso__[] attribute_hidden __attribute__ ((weak)) __attribute__ ((section " \ - "(\".interp\"))) =\""$(RUNTIME_PREFIX)$(MULTILIB_DIR)/$(UCLIBC_LDSO)"\";" >> $@ + "(\".interp\"))) =\""$(RUNTIME_PREFIX)$(MULTILIB_DIR)/$(UCLIBC_LDSO)"\";" >> $@.tmp + $(Q)mv $@.tmp $@ $(interp): $(top_builddir)lib/interp.c $(compile.c) |