Skip to content

Commit 00ce353

Browse files
authored
Fix spurious removal of a trailing character from the hostarch string on x86_64
1 parent 723776d commit 00ce353

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

c_check

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
# Checking cross compile
77
$hostos = `uname -s | sed -e s/\-.*//`; chop($hostos);
8-
$hostarch = `uname -m | sed -e s/i.86/x86/`;chop($hostarch);
8+
$hostarch = `uname -m | sed -e s/i.86/x86/`;
99
$hostarch = `uname -p` if ($hostos eq "AIX" || $hostos eq "SunOS");
1010
chop($hostarch);
1111
$hostarch = "x86_64" if ($hostarch eq "amd64");

0 commit comments

Comments
 (0)