Browse Source

Merge pull request #560 from sebastien-villemot/develop

Fix detection of ARM architectures in c_check.
tags/v0.2.15^2
Zhang Xianyi 11 years ago
parent
commit
a124637329
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      c_check

+ 2
- 0
c_check View File

@@ -4,6 +4,8 @@
$hostos = `uname -s | sed -e s/\-.*//`; chop($hostos);
$hostarch = `uname -m | sed -e s/i.86/x86/`;chop($hostarch);
$hostarch = "x86_64" if ($hostarch eq "amd64");
$hostarch = "arm" if ($hostarch =~ /^arm.*/);
$hostarch = "arm64" if ($hostarch eq "aarch64");

$binary = $ENV{"BINARY"};



Loading…
Cancel
Save