Commit a6541767 by Jason Merrill

tweak

From-SVN: r28003
parent 2988a4c3
...@@ -159,14 +159,15 @@ install_to_tooldir: all ...@@ -159,14 +159,15 @@ install_to_tooldir: all
# can't use anything encumbering. # can't use anything encumbering.
NEEDED = atexit calloc memchr memcmp memcpy memmove memset rename strchr \ NEEDED = atexit calloc memchr memcmp memcpy memmove memset rename strchr \
strerror strrchr strstr strtol strtoul tmpnam vfprintf vprintf \ strerror strrchr strstr strtol strtoul tmpnam vfprintf vprintf \
vfork waitpid vfork waitpid mkstemps
needed-list: Makefile needed-list: Makefile
rm -f needed-list; touch needed-list; \ rm -f needed-list; touch needed-list; \
files="$(LIBOBJS) $(EXTRA_OFILES)"; \
for f in $(NEEDED); do \ for f in $(NEEDED); do \
case "$$files" in \ for g in $(LIBOBJS) $(EXTRA_OFILES); do \
*$$f*) echo $$f >> needed-list ;; \ case "$$g" in \
esac; \ *$$f*) echo $$g >> needed-list ;; \
esac; \
done; \
done done
# required-list was used when building a shared bfd/opcodes/libiberty # required-list was used when building a shared bfd/opcodes/libiberty
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment