Merge pull request #968 from buffer51/develop
Updated CROSS_SUFFIX regex to work with CC containing arguments
This commit is contained in:
commit
161c927071
2
c_check
2
c_check
|
@ -34,7 +34,7 @@ if (dirname($compiler_name) ne ".") {
|
||||||
$cross_suffix .= dirname($compiler_name) . "/";
|
$cross_suffix .= dirname($compiler_name) . "/";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (basename($compiler_name) =~ /(.*-)(.*)/) {
|
if (basename($compiler_name) =~ /([^\s]*-)(.*)/) {
|
||||||
$cross_suffix .= $1;
|
$cross_suffix .= $1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue