|
@@ -326,10 +326,11 @@ $(top_builddir)%.dep:
|
|
|
|
|
|
$(top_builddir)lib/interp.c: | $(sub_headers)
|
|
$(top_builddir)lib/interp.c: | $(sub_headers)
|
|
$(Q)$(INSTALL) -d $(dir $@)
|
|
$(Q)$(INSTALL) -d $(dir $@)
|
|
- $(Q)echo "/* Force shared libraries to know about the correct library loader */" > $@
|
|
+ $(Q)echo "/* Force shared libraries to know about the correct library loader */" > $@.tmp
|
|
- $(Q)echo "#include <features.h>" >> $@
|
|
+ $(Q)echo "#include <features.h>" >> $@.tmp
|
|
$(Q)echo "const char __dl_ldso__[] attribute_hidden __attribute__ ((weak)) __attribute__ ((section " \
|
|
$(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
|
|
$(interp): $(top_builddir)lib/interp.c
|
|
$(compile.c)
|
|
$(compile.c)
|