From dab8915b3f6cca329aea9088d9c4a63ab17dd75b Mon Sep 17 00:00:00 2001 From: Jim Wilson Date: Mon, 12 Apr 1993 14:59:19 -0700 Subject: [PATCH] (install-common): Delete $(bindir)/$(target)-gcc before trying to install it. From-SVN: r4107 --- gcc/Makefile.in | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/Makefile.in b/gcc/Makefile.in index 6de1f74..11df75e 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -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; \ -- 2.7.4