Commit 0fb4f4b8 by Graham Stott Committed by Graham Stott

target-supports.exp (check_iconv_available): Fix fallout from 2004-05-28 patch.


	* lib/target-supports.exp (check_iconv_available): Fix fallout
	from 2004-05-28 patch.

From-SVN: r82460
parent 94716287
2004-05-30 Graham Stott <graham.stott@btinternet.com>
* lib/target-supports.exp (check_iconv_available): Fix fallout
from 2004-05-28 patch.
2004-05-30 Paul Brook <paul@codesourcery.com>
PR fortran/15620
......
......@@ -239,13 +239,13 @@ proc check_iconv_available { test_what } {
set lines [${tool}_target_compile $src $exe executable "libs=$libiconv" ]
file delete $src
remote_file build delete $exe
if [string match "" $lines] then {
# No error messages, everything is OK.
set result [${tool}_load "./tmp.x" "" ""]
set result [${tool}_load "./$exe" "" ""]
set status [lindex $result 0];
remote_file build delete $exe
verbose "check_iconv_available status is <$status>" 2
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment