Browse Source

Fix detection of POWER architecture in c_check.

This is necessary to avoid the false detection of a cross-compiling
environment.
tags/v0.2.16.rc1
Sébastien Villemot 10 years ago
parent
commit
41407acc19
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      c_check

+ 1
- 0
c_check View File

@@ -6,6 +6,7 @@ $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");
$hostarch = "power" if ($hostarch =~ /^(powerpc|ppc).*/);

$binary = $ENV{"BINARY"};



Loading…
Cancel
Save