Browse Source
Merge pull request #3038 from martin-frbg/issue3037
Fix spurious assumption of cross-compilation on some architectures
tags/v0.3.14^2
Martin Kroeker
GitHub
5 years ago
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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"); |
|
|
|
|