]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
tweak
authorJason Merrill <jason@gcc.gnu.org>
Mon, 12 Jul 1999 13:36:49 +0000 (09:36 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 12 Jul 1999 13:36:49 +0000 (09:36 -0400)
From-SVN: r28068

libiberty/Makefile.in

index 485ba76d87a3a24655e2c533c74936950c8e186f..3dbf02e987d911d26590aa8277d59e23ece56c13 100644 (file)
@@ -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