mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-21 13:49:46 +08:00
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:
parent
bbed24125e
commit
523cb4994d
@ -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.
|
||||
|
||||
|
@ -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); \
|
||||
|
Loading…
Reference in New Issue
Block a user