Assume cross-compilation if host and target os differ
fixes 1674
This commit is contained in:
parent
61659f8765
commit
e17f969fa0
3
c_check
3
c_check
|
@ -223,7 +223,6 @@ $data =~ /globl\s([_\.]*)(.*)/;
|
||||||
$need_fu = $1;
|
$need_fu = $1;
|
||||||
|
|
||||||
$cross = 0;
|
$cross = 0;
|
||||||
$cross = 1 if ($os ne $hostos);
|
|
||||||
|
|
||||||
if ($architecture ne $hostarch) {
|
if ($architecture ne $hostarch) {
|
||||||
$cross = 1;
|
$cross = 1;
|
||||||
|
@ -231,6 +230,8 @@ if ($architecture ne $hostarch) {
|
||||||
$cross = 0 if (($hostarch eq "mips64") && ($architecture eq "mips"));
|
$cross = 0 if (($hostarch eq "mips64") && ($architecture eq "mips"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$cross = 1 if ($os ne $hostos);
|
||||||
|
|
||||||
$openmp = "" if $ENV{USE_OPENMP} != 1;
|
$openmp = "" if $ENV{USE_OPENMP} != 1;
|
||||||
|
|
||||||
$linker_L = "";
|
$linker_L = "";
|
||||||
|
|
Loading…
Reference in New Issue