diff options
author | Jan Kotas <jkotas@microsoft.com> | 2016-02-18 03:42:22 +0300 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2016-02-18 03:42:22 +0300 |
commit | 0f2eacd504c4aea2d62934c702082e646a7b7e19 (patch) | |
tree | 0d09e7bc00280234970094fad92da0c30b56c8a3 /build.sh | |
parent | 7146caf6a1becf6dbac0a2b5d659b98480222bdb (diff) | |
parent | 1fa4c90ca79641402e5a28ecc6736aa815b162a9 (diff) |
Merge pull request #877 from manu-silicon/uname
Ported fix from CoreCLR regarding uname reporting unknown platform
Diffstat (limited to 'build.sh')
-rwxr-xr-x | build.sh | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -263,6 +263,11 @@ export MONO_THREADS_PER_CPU=2000 # Use uname to determine what the CPU is. CPUName=$(uname -p) +# Some Linux platforms report unknown for platform, but the arch for machine. +if [ $CPUName == "unknown" ]; then + CPUName=$(uname -m) +fi + case $CPUName in i686) __BuildArch=x86 |