Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGleb Balykov <g.balykov@samsung.com>2020-06-22 15:28:33 +0300
committerGitHub <noreply@github.com>2020-06-22 15:28:33 +0300
commit846ff2522cc4554c87913b4dede89da2820124d4 (patch)
tree8e2ed56cded6da73dbbe11104d2167ccb0b5a8de /src/coreclr/crossgen-corelib.proj
parent4aacf930ecdccfb41435e913042662cf97e99b6a (diff)
Fix non-portable build (#38095)
Diffstat (limited to 'src/coreclr/crossgen-corelib.proj')
-rw-r--r--src/coreclr/crossgen-corelib.proj2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/coreclr/crossgen-corelib.proj b/src/coreclr/crossgen-corelib.proj
index 1027019a412..bf26cd259a8 100644
--- a/src/coreclr/crossgen-corelib.proj
+++ b/src/coreclr/crossgen-corelib.proj
@@ -7,6 +7,8 @@
<_CoreClrBuildArg Condition="'$(TargetArchitecture)' != ''" Include="-$(TargetArchitecture)" />
<_CoreClrBuildArg Include="-$(Configuration.ToLower())" />
<_CoreClrBuildArg Condition="!$([MSBuild]::IsOsPlatform(Windows))" Include="-os $(TargetOS)" />
+ <_CoreClrBuildArg Condition="'$(CrossBuild)' == 'true'" Include="-cross" />
+ <_CoreClrBuildArg Condition="'$(PortableBuild)' != 'true'" Include="-portablebuild=false" />
</ItemGroup>
<PropertyGroup>