diff options
author | iains <iains@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-09-21 14:43:59 +0000 |
---|---|---|
committer | iains <iains@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-09-21 14:43:59 +0000 |
commit | fd80c7a1cb59da89adc5c57914706bde16c3d3e6 (patch) | |
tree | 433ea1d541a71139a5dc6aef37b863e1ca88d007 /libgcc/Makefile.in | |
parent | 62932e4dc2db82e1bdef5e2afbad33154bb8d5f2 (diff) | |
download | gcc-fd80c7a1cb59da89adc5c57914706bde16c3d3e6.tar.gz |
* Makefile.in (libgcc-extra-parts): Check for static archives and
invoke ranlib after installing them.
(gcc-extra-parts): Likewise.
(install-leaf): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164482 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgcc/Makefile.in')
-rw-r--r-- | libgcc/Makefile.in | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libgcc/Makefile.in b/libgcc/Makefile.in index cbca5532f2e..631af5ada04 100644 --- a/libgcc/Makefile.in +++ b/libgcc/Makefile.in @@ -870,6 +870,10 @@ endif for file in $$parts; do \ rm -f $(gcc_objdir)$(MULTISUBDIR)/$$file; \ $(INSTALL_DATA) $$file $(gcc_objdir)$(MULTISUBDIR)/; \ + case $$file in \ + *.a) \ + $(RANLIB) $(gcc_objdir)$(MULTISUBDIR)/$$file ;; \ + esac; \ done # Build extra startfiles in the gcc directory, for unconverted @@ -903,6 +907,10 @@ gcc-extra-parts: for file in $$parts; do \ rm -f $(gcc_objdir)$(MULTISUBDIR)/$$file; \ $(INSTALL_DATA) $$file $(gcc_objdir)$(MULTISUBDIR)/; \ + case $$file in \ + *.a) \ + $(RANLIB) $(gcc_objdir)$(MULTISUBDIR)/$$file ;; \ + esac; \ done all: $(extra-parts) @@ -958,6 +966,10 @@ install-leaf: $(install-shared) $(install-libunwind) for file in $$parts; do \ rm -f $(DESTDIR)$(inst_libdir)/$$file; \ $(INSTALL_DATA) $$file $(DESTDIR)$(inst_libdir)/; \ + case $$file in \ + *.a) \ + $(RANLIB) $(gcc_objdir)$(MULTISUBDIR)/$$file ;; \ + esac; \ done install: install-leaf |