Browse Source

Updated CROSS_SUFFIX regex to work with CC containing arguments

tags/v0.2.20^2
Paul MUSTIÈRE 9 years ago
parent
commit
157ee498ac
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      c_check

+ 1
- 1
c_check View File

@@ -34,7 +34,7 @@ if (dirname($compiler_name) ne ".") {
$cross_suffix .= dirname($compiler_name) . "/";
}

if (basename($compiler_name) =~ /(.*-)(.*)/) {
if (basename($compiler_name) =~ /([^\s]*-)(.*)/) {
$cross_suffix .= $1;
}



Loading…
Cancel
Save