Commit dab8915b by Jim Wilson

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

before trying to install it.

From-SVN: r4107
parent ad237340
......@@ -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; \
......
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