Support msbuildonunsupportedplatform on non-x64 architecture (dotnet/coreclr#11966)
authorJonghyun Park <parjong@gmail.com>
Thu, 1 Jun 2017 22:18:40 +0000 (07:18 +0900)
committerJan Kotas <jkotas@microsoft.com>
Thu, 1 Jun 2017 22:18:40 +0000 (15:18 -0700)
Commit migrated from https://github.com/dotnet/coreclr/commit/441f86cd0181864c4fe93ae4f8eaacd392437834

src/coreclr/build.sh

index 976e18b..8e262b7 100755 (executable)
@@ -362,7 +362,7 @@ build_cross_arch_component()
 isMSBuildOnNETCoreSupported()
 {
     # This needs to be updated alongwith corresponding changes to netci.groovy.
-    __isMSBuildOnNETCoreSupported=0
+    __isMSBuildOnNETCoreSupported=$__msbuildonunsupportedplatform
 
     if [ "$__HostArch" == "x64" ]; then
         if [ "$__HostOS" == "Linux" ]; then
@@ -397,8 +397,6 @@ isMSBuildOnNETCoreSupported()
                 "alpine.3.4.3-x64")
                     __isMSBuildOnNETCoreSupported=1
                     ;;
-                *)
-                __isMSBuildOnNETCoreSupported=$__msbuildonunsupportedplatform
             esac
         elif [ "$__HostOS" == "OSX" ]; then
             __isMSBuildOnNETCoreSupported=1