summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2005-01-08 11:45:54 +0000
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2005-01-08 11:45:54 +0000
commitbd2653737a31d0bf72116a464778d04f66a09ff8 (patch)
treee87034bbb66139cde5355cf1f80c286da2f88863
parent19f7ae9a9e0a91629f77fe361b9ba59c243b0355 (diff)
downloadppe42-gcc-bd2653737a31d0bf72116a464778d04f66a09ff8.tar.gz
ppe42-gcc-bd2653737a31d0bf72116a464778d04f66a09ff8.zip
* config/mips/t-slibgcc-irix (SHLIB_LINK): Install a copy of the
library as @multilib_dir@/$(SHLIB_SONAME). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@93080 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/mips/t-slibgcc-irix4
2 files changed, 8 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 666fbfe4914..186d3d92721 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2005-01-08 Richard Sandiford <rsandifo@redhat.com>
+
+ * config/mips/t-slibgcc-irix (SHLIB_LINK): Install a copy of the
+ library as @multilib_dir@/$(SHLIB_SONAME).
+
2005-01-07 Eric Botcazou <ebotcazou@libertysurf.fr>
* configure.ac (HAVE_AS_OFFSETABLE_LO10): Fix typo.
diff --git a/gcc/config/mips/t-slibgcc-irix b/gcc/config/mips/t-slibgcc-irix
index 0eac89e6a1c..71e5094103f 100644
--- a/gcc/config/mips/t-slibgcc-irix
+++ b/gcc/config/mips/t-slibgcc-irix
@@ -18,7 +18,9 @@ SHLIB_LINK = $(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) -shared -nodefaultlibs \
mv -f $(SHLIB_NAME) $(SHLIB_NAME).backup; \
else true; fi && \
mv $(SHLIB_NAME).tmp $(SHLIB_NAME) && \
- $(LN_S) $(SHLIB_NAME) $(SHLIB_SOLINK)
+ $(LN_S) $(SHLIB_NAME) $(SHLIB_SOLINK) && \
+ { test "@multilib_dir@" = "." || \
+ $(INSTALL_DATA) $(SHLIB_NAME) @multilib_dir@/$(SHLIB_SONAME); }
# $(slibdir) double quoted to protect it from expansion while building
# libgcc.mk. We want this delayed until actual install time.
SHLIB_INSTALL = \
OpenPOWER on IntegriCloud