(install-common): Delete $(bindir)/$(target)-gcc

before trying to install it.

From-SVN: r4107
This commit is contained in:
Jim Wilson 1993-04-12 14:59:19 -07:00
parent ad2373403f
commit dab8915b3f
1 changed files with 1 additions and 0 deletions

View File

@ -1554,6 +1554,7 @@ install-common: native install-dir xgcc $(EXTRA_PARTS)
# Install the driver program as $(target)-gcc
# and also as either gcc (if native) or $(tooldir)/bin/gcc.
-if [ -f gcc-cross ] ; then \
rm -f $(bindir)/$(target)-gcc; \
$(INSTALL_PROGRAM) gcc-cross $(bindir)/$(target)-gcc; \
if [ -d $(tooldir)/bin/. ] ; then \
rm -f $(tooldir)/bin/gcc; \