mklibgcc.in (libgcc-stage-start): For every multilib directory containing a libgcc...
authorAlexandre Oliva <aoliva@redhat.com>
Sat, 12 Apr 2003 09:06:46 +0000 (09:06 +0000)
committerAlexandre Oliva <aoliva@gcc.gnu.org>
Sat, 12 Apr 2003 09:06:46 +0000 (09:06 +0000)
* mklibgcc.in (libgcc-stage-start): For every multilib  directory
containing a libgcc.a, move lib* to the corresponding stage dir.

From-SVN: r65505

gcc/ChangeLog
gcc/mklibgcc.in

index ccc62c3..5e0a6ad 100644 (file)
@@ -1,12 +1,13 @@
 2003-04-12  Alexandre Oliva  <aoliva@redhat.com>
 
+       * mklibgcc.in (libgcc-stage-start): For every multilib  directory
+       containing a libgcc.a, move lib* to the corresponding stage dir.
+
        * Makefile.in (stage1-start, stage2-start, stage3-start,
        stage4-start): Move $(SPECS) to specs in stage dir.
        (unstage1 unstage2 unstage3 unstage4): Move specs in stage dir
        back as $(SPECS).
 
-2003-04-12  Alexandre Oliva  <aoliva@redhat.com>
-
        * mklibgcc.in (libgcc-stage-start): Move into the stage directory
        object files from the non-libgcc/ multilib directories as well.
 
index 619f101..7407851 100644 (file)
@@ -430,6 +430,7 @@ echo '        if [ -d $(stage)/$$dir ]; then true; else mkdir $(stage)/$$dir; fi; \'
 echo ' done'
 echo ' -for dir in '"${dirs}"'; do \'
 echo '   mv $$dir/*'"${objext}"' $(stage)/$$dir; \'
+echo '   test ! -f $$dir/libgcc.a || mv $$dir/lib* $(stage)/$$dir; \'
 echo ' done'
 
 echo ""