From a6541767205571ff6e1e76e8362ff811bf0c9d75 Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Wed, 7 Jul 1999 22:43:10 -0400 Subject: [PATCH] tweak From-SVN: r28003 --- libiberty/Makefile.in | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/libiberty/Makefile.in b/libiberty/Makefile.in index 485ba76d87a..3dbf02e987d 100644 --- a/libiberty/Makefile.in +++ b/libiberty/Makefile.in @@ -159,14 +159,15 @@ install_to_tooldir: all # can't use anything encumbering. NEEDED = atexit calloc memchr memcmp memcpy memmove memset rename strchr \ strerror strrchr strstr strtol strtoul tmpnam vfprintf vprintf \ - vfork waitpid + vfork waitpid mkstemps needed-list: Makefile rm -f needed-list; touch needed-list; \ - files="$(LIBOBJS) $(EXTRA_OFILES)"; \ for f in $(NEEDED); do \ - case "$$files" in \ - *$$f*) echo $$f >> needed-list ;; \ - esac; \ + for g in $(LIBOBJS) $(EXTRA_OFILES); do \ + case "$$g" in \ + *$$f*) echo $$g >> needed-list ;; \ + esac; \ + done; \ done # required-list was used when building a shared bfd/opcodes/libiberty