Skip to content

Commit 50e1803

Browse files
committed
Merge pull request #471 from nolta/patch-4
c_check: set $hostarch to x86_64 instead of amd64
2 parents 551b55d + 271ceb8 commit 50e1803

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

c_check

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
# Checking cross compile
44
$hostos = `uname -s | sed -e s/\-.*//`; chop($hostos);
55
$hostarch = `uname -m | sed -e s/i.86/x86/`;chop($hostarch);
6+
$hostarch = "x86_64" if ($hostarch eq "amd64");
67

78
$binary = $ENV{"BINARY"};
89

0 commit comments

Comments
 (0)