|
From: | Peter Rosin |
Subject: | Re: MSVC: Support for response files with $NM. |
Date: | Thu, 08 Jul 2010 14:26:38 +0200 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.4) Gecko/20100608 Thunderbird/3.1 |
Den 2010-07-06 11:27 skrev Peter Rosin:
+ output_la=`$ECHO "X$output" | $Xsed -e "$basename"`save 2 fork&exec: func_basename "$output" output_la=$func_basename_resultYes, good point. I'll send a patch later if noone beats me to it, since it might easily take me a couple of days to get to it. Life is interfering.
I'm pushing the following as trivial. Cheers, Peter 2010-07-08 Peter Rosin <address@hidden> Optimize assignment of output_la. * libltdl/config/ltmain.m4sh (func_mode_link): Save two fork/exec instances. Report by Ralf Wildenhues. diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh index 1a2c02d..a8f0ac1 100644 --- a/libltdl/config/ltmain.m4sh +++ b/libltdl/config/ltmain.m4sh @@ -6916,7 +6916,8 @@ EOF func_show_eval "$cmd" 'exit $?' skipped_export=false elif test -n "$nm_file_list_spec"; then - output_la=`$ECHO "X$output" | $Xsed -e "$basename"` + func_basename "$output" + output_la=$func_basename_result save_libobjs=$libobjs save_output=$output output=${output_objdir}/${output_la}.nm
[Prev in Thread] | Current Thread | [Next in Thread] |