summaryrefslogtreecommitdiff
path: root/libgcc
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
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')
-rw-r--r--libgcc/ChangeLog7
-rw-r--r--libgcc/Makefile.in12
2 files changed, 19 insertions, 0 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog
index 248c0b32785..1dc0777d4b0 100644
--- a/libgcc/ChangeLog
+++ b/libgcc/ChangeLog
@@ -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>
* configure: Regenerated.
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