summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonghyun Park <parjong@gmail.com>2017-06-02 07:18:40 +0900
committerJan Kotas <jkotas@microsoft.com>2017-06-01 15:18:40 -0700
commit441f86cd0181864c4fe93ae4f8eaacd392437834 (patch)
tree9cb30a05a6f9a22d623ce7b6b2c5e144577e3287
parent40a6f20696efecf3c5faf3210f369dd3f9d8fdb2 (diff)
downloadcoreclr-441f86cd0181864c4fe93ae4f8eaacd392437834.tar.gz
coreclr-441f86cd0181864c4fe93ae4f8eaacd392437834.tar.bz2
coreclr-441f86cd0181864c4fe93ae4f8eaacd392437834.zip
Support msbuildonunsupportedplatform on non-x64 architecture (#11966)
-rwxr-xr-xbuild.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/build.sh b/build.sh
index 976e18bda6..8e262b7175 100755
--- a/build.sh
+++ b/build.sh
@@ -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