(install-common): Delete $(bindir)/$(target)-gcc
before trying to install it. From-SVN: r4107
This commit is contained in:
parent
ad2373403f
commit
dab8915b3f
|
@ -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; \
|
||||
|
|
Loading…
Reference in New Issue