Makefile.in (libgcc-extra-parts): Check for static archives and invoke ranlib after installing them.

* Makefile.in (libgcc-extra-parts):  Check for static archives and
	invoke ranlib after installing them.
	(gcc-extra-parts): Likewise.
	(install-leaf): Likewise.

From-SVN: r164482
This commit is contained in:
Iain Sandoe 2010-09-21 14:43:59 +00:00
parent db50fe7da0
commit 5b50fc0c88
2 changed files with 19 additions and 0 deletions

View File

@ -1,3 +1,10 @@
2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
* Makefile.in (libgcc-extra-parts): Check for static archives and
invoke ranlib after installing them.
(gcc-extra-parts): Likewise.
(install-leaf): Likewise.
2010-09-14 H.J. Lu <hongjiu.lu@intel.com> 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
* configure: Regenerated. * configure: Regenerated.

View File

@ -870,6 +870,10 @@ endif
for file in $$parts; do \ for file in $$parts; do \
rm -f $(gcc_objdir)$(MULTISUBDIR)/$$file; \ rm -f $(gcc_objdir)$(MULTISUBDIR)/$$file; \
$(INSTALL_DATA) $$file $(gcc_objdir)$(MULTISUBDIR)/; \ $(INSTALL_DATA) $$file $(gcc_objdir)$(MULTISUBDIR)/; \
case $$file in \
*.a) \
$(RANLIB) $(gcc_objdir)$(MULTISUBDIR)/$$file ;; \
esac; \
done done
# Build extra startfiles in the gcc directory, for unconverted # Build extra startfiles in the gcc directory, for unconverted
@ -903,6 +907,10 @@ gcc-extra-parts:
for file in $$parts; do \ for file in $$parts; do \
rm -f $(gcc_objdir)$(MULTISUBDIR)/$$file; \ rm -f $(gcc_objdir)$(MULTISUBDIR)/$$file; \
$(INSTALL_DATA) $$file $(gcc_objdir)$(MULTISUBDIR)/; \ $(INSTALL_DATA) $$file $(gcc_objdir)$(MULTISUBDIR)/; \
case $$file in \
*.a) \
$(RANLIB) $(gcc_objdir)$(MULTISUBDIR)/$$file ;; \
esac; \
done done
all: $(extra-parts) all: $(extra-parts)
@ -958,6 +966,10 @@ install-leaf: $(install-shared) $(install-libunwind)
for file in $$parts; do \ for file in $$parts; do \
rm -f $(DESTDIR)$(inst_libdir)/$$file; \ rm -f $(DESTDIR)$(inst_libdir)/$$file; \
$(INSTALL_DATA) $$file $(DESTDIR)$(inst_libdir)/; \ $(INSTALL_DATA) $$file $(DESTDIR)$(inst_libdir)/; \
case $$file in \
*.a) \
$(RANLIB) $(gcc_objdir)$(MULTISUBDIR)/$$file ;; \
esac; \
done done
install: install-leaf install: install-leaf