Enable 'System.Private.CoreLib.dll' build on cross build mode (dotnet/coreclr#5320)
authorJonghyun Park <parjong@gmail.com>
Tue, 31 May 2016 03:44:20 +0000 (12:44 +0900)
committerJan Kotas <jkotas@microsoft.com>
Tue, 31 May 2016 03:44:20 +0000 (20:44 -0700)
commita6f05e1055968c98afece65a441d0bac9c374d7a
treef639965700fcf4ae4260e6137bb432c013fdb082
parent1e72d018f1017fd880ad4465ed09a89284b4ee66
Enable 'System.Private.CoreLib.dll' build on cross build mode (dotnet/coreclr#5320)

Currently, build.sh uses 'BuildOS' and 'BuildArch' to determine whether
it is possible to build 'System.Private.CorLib.dll'.

This commit revises build.sh to use 'HostOS' and 'HostArch' instead of
'BuildOS' and 'BuildArch' when it checkes whether it is possible to
build 'System.Private.CoreLib.dll', which allows to build
'System.Private.CoreLib.dll' in cross build mode.

Commit migrated from https://github.com/dotnet/coreclr/commit/376b1fc601bdb4f37acfb7937634c928d745ef18
src/coreclr/build.sh