Makefile.in (unstage*): Remove as, ld, collect-ld before moving everything back to...
authorRichard Henderson <rth@redhat.com>
Fri, 26 Oct 2001 07:24:34 +0000 (00:24 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Fri, 26 Oct 2001 07:24:34 +0000 (00:24 -0700)
        * Makefile.in (unstage*): Remove as, ld, collect-ld before
        moving everything back to the main build directory.

From-SVN: r46533

gcc/ChangeLog
gcc/Makefile.in

index 640b61221d1a454fb04425520020e2fb0659f6a9..bbff29b27bac655e9af0bd2ad2c08030dd86be01 100644 (file)
@@ -1,3 +1,8 @@
+2001-10-26  Richard Henderson  <rth@redhat.com>
+
+       * Makefile.in (unstage*): Remove as, ld, collect-ld before
+       moving everything back to the main build directory.
+
 2001-10-26  Christopher Faylor  <cgf@redhat.com>
 
        * config/i386/cygwin.h: Search target specfic include directory, if
index 85c7d7a68a4e83f315cf7c9d67661c1f3aa9258d..a365017de48b9ca94f70fd7bfa9d709dde200508 100644 (file)
@@ -3048,6 +3048,9 @@ bootstrap4 bootstrap4-lean: stage4_build
 
 unstage1 unstage2 unstage3 unstage4:
        -set -vx; stage=`echo $@ | sed -e 's/un//'`; \
+       rm -f $$stage/as$(exeext); \
+       rm -f $$stage/ld$(exeext); \
+       rm -f $$stage/collect-ld$(exeext); \
        if test -d $$stage; then \
          mv $$stage/* . 2>/dev/null; \
          for i in `cd $$stage; echo *` ; do \