diff options
author | H.J. Lu <hongjiu.lu@intel.com> | 2004-12-16 19:14:29 +0000 |
---|---|---|
committer | H.J. Lu <hjl@gcc.gnu.org> | 2004-12-16 11:14:29 -0800 |
commit | e3cb7e21bd0f66aed67ac57908c20c5fdacff041 (patch) | |
tree | f45cb746a5ca55c5c9fecab1275f7ff6eb516112 /gcc/config/pa | |
parent | 4fdb5c71251e829b24d6df71df3b6004ddd30e86 (diff) | |
download | gcc-e3cb7e21bd0f66aed67ac57908c20c5fdacff041.zip gcc-e3cb7e21bd0f66aed67ac57908c20c5fdacff041.tar.gz gcc-e3cb7e21bd0f66aed67ac57908c20c5fdacff041.tar.bz2 |
re PR other/18508 ("basename: too few arguments" when building without bootstrap)
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.
From-SVN: r92276
Diffstat (limited to 'gcc/config/pa')
-rw-r--r-- | gcc/config/pa/t-hpux-shlib | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/pa/t-hpux-shlib b/gcc/config/pa/t-hpux-shlib index 1d63dca..5183b06 100644 --- a/gcc/config/pa/t-hpux-shlib +++ b/gcc/config/pa/t-hpux-shlib @@ -8,7 +8,7 @@ SHLIB_LINK = $(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) -shared -nodefaultlibs \ -o $(SHLIB_NAME).tmp @multilib_flags@ $(SHLIB_OBJS) -lc && \ rm -f $(SHLIB_SONAME) && \ 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_SONAME) |