aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJim Wilson <wilson@gcc.gnu.org>1993-04-12 14:59:19 -0700
committerJim Wilson <wilson@gcc.gnu.org>1993-04-12 14:59:19 -0700
commitdab8915b3f6cca329aea9088d9c4a63ab17dd75b (patch)
tree6a1a7895d9a7c13596e37840b8645d4cf0793529 /gcc
parentad2373403ff189fe06a94ab862c74284b9a91824 (diff)
downloadgcc-dab8915b3f6cca329aea9088d9c4a63ab17dd75b.zip
gcc-dab8915b3f6cca329aea9088d9c4a63ab17dd75b.tar.gz
gcc-dab8915b3f6cca329aea9088d9c4a63ab17dd75b.tar.bz2
(install-common): Delete $(bindir)/$(target)-gcc
before trying to install it. From-SVN: r4107
Diffstat (limited to 'gcc')
-rw-r--r--gcc/Makefile.in1
1 files changed, 1 insertions, 0 deletions
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; \