Merge pull request #471 from nolta/patch-4

c_check: set $hostarch to x86_64 instead of amd64
This commit is contained in:
Zhang Xianyi 2014-12-03 12:53:20 +08:00
commit 50e18033e6
1 changed files with 1 additions and 0 deletions

View File

@ -3,6 +3,7 @@
# Checking cross compile
$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");
$binary = $ENV{"BINARY"};