summaryrefslogtreecommitdiff
path: root/gcc/config/t-slibgcc-sld
diff options
context:
space:
mode:
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-15 15:55:45 +0000
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-15 15:55:45 +0000
commit71f63b3afea2a42556caf0a77e7fd20fdb085462 (patch)
treef1b30fe76fb9222ed449b5c793e9ab8dfd4953d5 /gcc/config/t-slibgcc-sld
parentf1632bd1742650bdc39213edaa2d67c50e59af67 (diff)
downloadgcc-71f63b3afea2a42556caf0a77e7fd20fdb085462.tar.gz
2004-11-15 Mark Mitchell <mark@codesourcery.com>
* config/t-slibgcc-sld (SHLIB_LINK): Make symlinks entirely within the multilib directory. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90669 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/t-slibgcc-sld')
-rw-r--r--gcc/config/t-slibgcc-sld4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/t-slibgcc-sld b/gcc/config/t-slibgcc-sld
index a4e5a07440b..5f2a5cafcbd 100644
--- a/gcc/config/t-slibgcc-sld
+++ b/gcc/config/t-slibgcc-sld
@@ -12,12 +12,12 @@ SHLIB_LINK = $(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) -shared -nodefaultlibs \
-Wl,-h,$(SHLIB_SONAME) -Wl,-z,text -Wl,-z,defs \
-Wl,-M,$(SHLIB_MAP) -o $(SHLIB_NAME).tmp \
@multilib_flags@ $(SHLIB_OBJS) -lc && \
- rm -f $(SHLIB_SOLINK) && \
+ rm -f @shlib_dir@$(SHLIB_SOLINK) && \
if [ -f $(SHLIB_NAME) ]; then \
mv -f $(SHLIB_NAME) $(SHLIB_NAME).`basename $(STAGE_PREFIX)`; \
else true; fi && \
mv $(SHLIB_NAME).tmp $(SHLIB_NAME) && \
- $(LN_S) $(SHLIB_NAME) $(SHLIB_SOLINK)
+ $(LN_S) $(SHLIB_SONAME) @shlib_dir@$(SHLIB_SOLINK)
# $(slibdir) double quoted to protect it from expansion while building
# libgcc.mk. We want this delayed until actual install time.
SHLIB_INSTALL = \