diff options
author | Gleb Balykov <g.balykov@samsung.com> | 2020-06-22 15:28:33 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-22 15:28:33 +0300 |
commit | 846ff2522cc4554c87913b4dede89da2820124d4 (patch) | |
tree | 8e2ed56cded6da73dbbe11104d2167ccb0b5a8de /src/coreclr/crossgen-corelib.proj | |
parent | 4aacf930ecdccfb41435e913042662cf97e99b6a (diff) |
Fix non-portable build (#38095)
Diffstat (limited to 'src/coreclr/crossgen-corelib.proj')
-rw-r--r-- | src/coreclr/crossgen-corelib.proj | 2 |
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> |