Browse Source

Assume cross-compilation if host and target os differ

fixes 1674
tags/v0.3.3
Martin Kroeker GitHub 7 years ago
parent
commit
e17f969fa0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      c_check

+ 2
- 1
c_check View File

@@ -223,7 +223,6 @@ $data =~ /globl\s([_\.]*)(.*)/;
$need_fu = $1;

$cross = 0;
$cross = 1 if ($os ne $hostos);

if ($architecture ne $hostarch) {
$cross = 1;
@@ -231,6 +230,8 @@ if ($architecture ne $hostarch) {
$cross = 0 if (($hostarch eq "mips64") && ($architecture eq "mips"));
}

$cross = 1 if ($os ne $hostos);

$openmp = "" if $ENV{USE_OPENMP} != 1;

$linker_L = "";


Loading…
Cancel
Save