Fix spurious removal of a trailing character from the hostarch string on x86_64
This commit is contained in:
parent
723776ddf7
commit
00ce35336e
2
c_check
2
c_check
|
@ -5,7 +5,7 @@
|
|||
|
||||
# Checking cross compile
|
||||
$hostos = `uname -s | sed -e s/\-.*//`; chop($hostos);
|
||||
$hostarch = `uname -m | sed -e s/i.86/x86/`;chop($hostarch);
|
||||
$hostarch = `uname -m | sed -e s/i.86/x86/`;
|
||||
$hostarch = `uname -p` if ($hostos eq "AIX" || $hostos eq "SunOS");
|
||||
chop($hostarch);
|
||||
$hostarch = "x86_64" if ($hostarch eq "amd64");
|
||||
|
|
Loading…
Reference in New Issue