Skip to content

Commit 7822eff

Browse files
authored
Merge pull request #3038 from martin-frbg/issue3037
Fix spurious assumption of cross-compilation on some architectures
2 parents 5a77ec7 + 00ce353 commit 7822eff

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)