summaryrefslogtreecommitdiff
path: root/libgcc/Makefile.in
diff options
context:
space:
mode:
authoriains <iains@138bc75d-0d04-0410-961f-82ee72b054a4>2010-09-21 14:43:59 +0000
committeriains <iains@138bc75d-0d04-0410-961f-82ee72b054a4>2010-09-21 14:43:59 +0000
commitfd80c7a1cb59da89adc5c57914706bde16c3d3e6 (patch)
tree433ea1d541a71139a5dc6aef37b863e1ca88d007 /libgcc/Makefile.in
parent62932e4dc2db82e1bdef5e2afbad33154bb8d5f2 (diff)
downloadgcc-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.in12
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