Commit 523cb499 by Andreas Schwab Committed by Andreas Schwab

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
parent bbed2412
2002-11-24 Andreas Schwab <schwab@suse.de> 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 * config/m68k/m68k.c: Fix typo in last change defining
TARGET_ASM_CAN_OUTPUT_MI_THUNK. TARGET_ASM_CAN_OUTPUT_MI_THUNK.
......
...@@ -2839,6 +2839,7 @@ install-driver: installdirs xgcc$(exeext) ...@@ -2839,6 +2839,7 @@ install-driver: installdirs xgcc$(exeext)
-if [ -f gcc-cross$(exeext) ] ; then \ -if [ -f gcc-cross$(exeext) ] ; then \
rm -f $(bindir)/$(GCC_CROSS_NAME)$(exeext); \ rm -f $(bindir)/$(GCC_CROSS_NAME)$(exeext); \
$(INSTALL_PROGRAM) gcc-cross$(exeext) $(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) ; \ $(LN) $(bindir)/$(GCC_CROSS_NAME)$(exeext) $(bindir)/$(target_alias)-gcc-$(version) ; \
if [ -d $(gcc_tooldir)/bin/. ] ; then \ if [ -d $(gcc_tooldir)/bin/. ] ; then \
rm -f $(gcc_tooldir)/bin/gcc$(exeext); \ rm -f $(gcc_tooldir)/bin/gcc$(exeext); \
...@@ -2847,6 +2848,7 @@ install-driver: installdirs xgcc$(exeext) ...@@ -2847,6 +2848,7 @@ install-driver: installdirs xgcc$(exeext)
else \ else \
rm -f $(bindir)/$(GCC_INSTALL_NAME)$(exeext); \ rm -f $(bindir)/$(GCC_INSTALL_NAME)$(exeext); \
$(INSTALL_PROGRAM) xgcc$(exeext) $(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) ; \ $(LN) $(bindir)/$(GCC_INSTALL_NAME)$(exeext) $(bindir)/$(target_alias)-gcc-$(version) ; \
rm -f $(bindir)/$(target_alias)-gcc-tmp$(exeext); \ rm -f $(bindir)/$(target_alias)-gcc-tmp$(exeext); \
$(LN) $(bindir)/$(GCC_INSTALL_NAME)$(exeext) $(bindir)/$(target_alias)-gcc-tmp$(exeext); \ $(LN) $(bindir)/$(GCC_INSTALL_NAME)$(exeext) $(bindir)/$(target_alias)-gcc-tmp$(exeext); \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment