diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/target.exp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/target.exp b/lib/target.exp index 37c73c5..b52c853 100644 --- a/lib/target.exp +++ b/lib/target.exp @@ -326,7 +326,7 @@ proc default_target_compile {source destfile type options} { append ldflags " $LDFLAGS_FOR_TARGET" } - if {[info exists target_info(host,name)]} { + if {[host_info exists]} { set host [host_info name] } else { set host "unix" |