]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
Do not remove .gcno files when linking.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Thu, 4 Sep 2008 18:57:17 +0000 (20:57 +0200)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Thu, 4 Sep 2008 18:57:17 +0000 (20:57 +0200)
* libltdl/config/ltmain.m4sh (func_mode_link): When removing
potential output files before linking, do not remove *.gcno
profile information GCC outputs next to object files in `.libs'.
Report by Vincent Torri.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
ChangeLog
libltdl/config/ltmain.m4sh

index af1f78ba45fef7d156ae81e51f2cc79c2c24ca7f..b5b3347e088a2e78ed5c029660e855d8ac7e4984 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2008-09-04  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       Do not remove .gcno files when linking.
+       * libltdl/config/ltmain.m4sh (func_mode_link): When removing
+       potential output files before linking, do not remove *.gcno
+       profile information GCC outputs next to object files in `.libs'.
+       Report by Vincent Torri.
+
 2008-09-01  Peter O'Gorman  <peter@pogma.com>
 
        Revert 75142db4f8afc65ba7aae0ed80ea0b35bd9cc382 (AIX libltdl
index 7e319c9904d3752a5ae8f6f6814ef8dcfd45c95b..814cc9394832c6ffafe81b624d8d3c7315dd20e2 100644 (file)
@@ -5963,7 +5963,7 @@ func_mode_link ()
        tempremovelist=`$ECHO "$output_objdir/*"`
        for p in $tempremovelist; do
          case $p in
-           *.$objext)
+           *.$objext | *.gcno)
               ;;
            $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*)
               if test "X$precious_files_regex" != "X"; then