libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

No need for object file removal before compilation


From: Ralf Wildenhues
Subject: No need for object file removal before compilation
Date: Thu, 10 Apr 2008 01:58:44 +0200
User-agent: Mutt/1.5.17+20080114 (2008-01-14)

OK to apply?  I fail to see why it's necessary to remove these files.
If they existed from a previous compile, they are outdated, so what.
But I may be overlooking something here.

Thanks,
Ralf

2008-04-10  Ralf Wildenhues  <address@hidden>

        * libltdl/config/ltmain.m4sh (func_mode_compile): No need to
        remove old output files before compilation.

Index: libltdl/config/ltmain.m4sh
===================================================================
RCS file: /cvsroot/libtool/libtool/libltdl/config/ltmain.m4sh,v
retrieving revision 1.102
diff -u -r1.102 ltmain.m4sh
--- libltdl/config/ltmain.m4sh  16 Mar 2008 08:34:25 -0000      1.102
+++ libltdl/config/ltmain.m4sh  9 Apr 2008 23:33:43 -0000
@@ -1437,7 +1423,6 @@
       removelist="$lobj $libobj ${libobj}T"
     fi
 
-    $opt_dry_run || $RM $removelist
     trap "$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE" 1 2 15
 
     # On Cygwin there's no "real" PIC flag so we must build both object types
@@ -1568,7 +1553,6 @@
 
       # Suppress compiler output if we already did a PIC compilation.
       command="$command$suppress_output"
-      $opt_dry_run || $RM "$obj" "$output_obj"
       func_show_eval_locale "$command" \
         '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE'
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]