diff options
Diffstat (limited to 'autosetup')
-rw-r--r-- | autosetup/cc.tcl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/autosetup/cc.tcl b/autosetup/cc.tcl index 750ce92..910d6f3 100644 --- a/autosetup/cc.tcl +++ b/autosetup/cc.tcl @@ -264,11 +264,11 @@ proc cc-check-tools {args} { foreach tool $args { set TOOL [string toupper $tool] set exe [get-env $TOOL [get-define cross]$tool] - if {[find-executable {*}$exe]} { + if {[find-executable $exe]} { define $TOOL $exe continue } - if {[find-executable {*}$tool]} { + if {[find-executable $tool]} { msg-result "Warning: Failed to find $exe, falling back to $tool which may be incorrect" define $TOOL $tool continue |