diff options
author | hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-12-16 19:14:29 +0000 |
---|---|---|
committer | hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-12-16 19:14:29 +0000 |
commit | ece1cf4f24d4adacd7b39adde40703d071a0450f (patch) | |
tree | f45cb746a5ca55c5c9fecab1275f7ff6eb516112 /gcc/config/t-slibgcc-darwin | |
parent | e41f2c1a51bd3e35d7c7d7db0d7ba2552adcc307 (diff) | |
download | gcc-ece1cf4f24d4adacd7b39adde40703d071a0450f.tar.gz |
2004-12-14 H.J. Lu <hongjiu.lu@intel.com>
PR other/18508
* config/alpha/t-osf4 (SHLIB_LINK): Use `.backup' as the suffix
to back up the existing shared library.
* config/arm/t-netbsd (SHLIB_LINK): Likewise.
* config/mips/t-slibgcc-irix (SHLIB_LINK): Likewise.
* config/pa/t-hpux-shlib (SHLIB_LINK): Likewise.
* config/sh/t-linux (SHLIB_LINK): Likewise.
* config/t-libunwind-elf (SHLIBUNWIND_LINK): Likewise.
* config/t-slibgcc-darwin (SHLIB_LINK): Likewise.
* config/t-slibgcc-elf-ver (SHLIB_LINK): Likewise.
* config/t-slibgcc-sld (SHLIB_LINK): Likewise.
* config/i386/t-nwld (SHLIB_LINK): Don't use the temporary
file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92276 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/t-slibgcc-darwin')
-rw-r--r-- | gcc/config/t-slibgcc-darwin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/t-slibgcc-darwin b/gcc/config/t-slibgcc-darwin index 865f16fae77..66d4e777dd5 100644 --- a/gcc/config/t-slibgcc-darwin +++ b/gcc/config/t-slibgcc-darwin @@ -18,7 +18,7 @@ SHLIB_LINK = $(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) -dynamiclib -nodefaultlibs \ @multilib_flags@ $(SHLIB_OBJS) -lc && \ rm -f $(SHLIB_SOLINK) && \ if [ -f $(SHLIB_NAME) ]; then \ - mv -f $(SHLIB_NAME) $(SHLIB_NAME).`basename $(STAGE_PREFIX)`; \ + mv -f $(SHLIB_NAME) $(SHLIB_NAME).backup; \ else true; fi && \ mv $(SHLIB_NAME).tmp $(SHLIB_NAME) && \ $(LN_S) $(SHLIB_NAME) $(SHLIB_SOLINK) |