mirror of
git://git.savannah.gnu.org/libtool.git
synced 2025-01-24 14:24:59 +08:00
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. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
This commit is contained in:
parent
c7e6bd3060
commit
2c47edfdef
@ -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>
|
2008-09-01 Peter O'Gorman <peter@pogma.com>
|
||||||
|
|
||||||
Revert 75142db4f8afc65ba7aae0ed80ea0b35bd9cc382 (AIX libltdl
|
Revert 75142db4f8afc65ba7aae0ed80ea0b35bd9cc382 (AIX libltdl
|
||||||
|
@ -5963,7 +5963,7 @@ func_mode_link ()
|
|||||||
tempremovelist=`$ECHO "$output_objdir/*"`
|
tempremovelist=`$ECHO "$output_objdir/*"`
|
||||||
for p in $tempremovelist; do
|
for p in $tempremovelist; do
|
||||||
case $p in
|
case $p in
|
||||||
*.$objext)
|
*.$objext | *.gcno)
|
||||||
;;
|
;;
|
||||||
$output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*)
|
$output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*)
|
||||||
if test "X$precious_files_regex" != "X"; then
|
if test "X$precious_files_regex" != "X"; then
|
||||||
|
Loading…
Reference in New Issue
Block a user