From: Jason Merrill Date: Mon, 12 Jul 1999 13:36:49 +0000 (-0400) Subject: tweak X-Git-Tag: prereleases/gcc-2.95-test~46 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=06489e66679ef25bf7ecc4ca107532bba2054994;p=thirdparty%2Fgcc.git tweak From-SVN: r28068 --- diff --git a/libiberty/Makefile.in b/libiberty/Makefile.in index 485ba76d87a3..3dbf02e987d9 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