Makefile.in (install-driver): Remove versioned link before trying to create it.

* Makefile.in (install-driver): Remove versioned link before
	trying to create it.

From-SVN: r59435
This commit is contained in:
Andreas Schwab 2002-11-24 20:43:02 +00:00 committed by Andreas Schwab
parent bbed24125e
commit 523cb4994d
2 changed files with 5 additions and 0 deletions

View File

@ -1,5 +1,8 @@
2002-11-24 Andreas Schwab <schwab@suse.de>
* Makefile.in (install-driver): Remove versioned link before
trying to create it.
* config/m68k/m68k.c: Fix typo in last change defining
TARGET_ASM_CAN_OUTPUT_MI_THUNK.

View File

@ -2839,6 +2839,7 @@ install-driver: installdirs xgcc$(exeext)
-if [ -f gcc-cross$(exeext) ] ; then \
rm -f $(bindir)/$(GCC_CROSS_NAME)$(exeext); \
$(INSTALL_PROGRAM) gcc-cross$(exeext) $(bindir)/$(GCC_CROSS_NAME)$(exeext); \
rm -f $(bindir)/$(target_alias)-gcc-$(version); \
$(LN) $(bindir)/$(GCC_CROSS_NAME)$(exeext) $(bindir)/$(target_alias)-gcc-$(version) ; \
if [ -d $(gcc_tooldir)/bin/. ] ; then \
rm -f $(gcc_tooldir)/bin/gcc$(exeext); \
@ -2847,6 +2848,7 @@ install-driver: installdirs xgcc$(exeext)
else \
rm -f $(bindir)/$(GCC_INSTALL_NAME)$(exeext); \
$(INSTALL_PROGRAM) xgcc$(exeext) $(bindir)/$(GCC_INSTALL_NAME)$(exeext); \
rm -f $(bindir)/$(target_alias)-gcc-$(version); \
$(LN) $(bindir)/$(GCC_INSTALL_NAME)$(exeext) $(bindir)/$(target_alias)-gcc-$(version) ; \
rm -f $(bindir)/$(target_alias)-gcc-tmp$(exeext); \
$(LN) $(bindir)/$(GCC_INSTALL_NAME)$(exeext) $(bindir)/$(target_alias)-gcc-tmp$(exeext); \