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:
authorSantiago Fernandez Madero <safern@microsoft.com>2020-04-01 11:33:17 +0300
committerGitHub <noreply@github.com>2020-04-01 11:33:17 +0300
commita4fa31e4d8e0e141e76cbfa473d3ad214cafcad2 (patch)
treed6f188c8a6c1e42419e9cd5a7ed16523e00a090e /src/coreclr/crossgen-corelib.proj
parent0ff46ab78fd083194ed61b330317c93ec4fd2e68 (diff)
Fix build break in coreclr where -os is not supported in Windows (#34358)
Diffstat (limited to 'src/coreclr/crossgen-corelib.proj')
-rw-r--r--src/coreclr/crossgen-corelib.proj2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/coreclr/crossgen-corelib.proj b/src/coreclr/crossgen-corelib.proj
index 6551f5db6ba..1027019a412 100644
--- a/src/coreclr/crossgen-corelib.proj
+++ b/src/coreclr/crossgen-corelib.proj
@@ -6,7 +6,7 @@
<ItemGroup>
<_CoreClrBuildArg Condition="'$(TargetArchitecture)' != ''" Include="-$(TargetArchitecture)" />
<_CoreClrBuildArg Include="-$(Configuration.ToLower())" />
- <_CoreClrBuildArg Include="-os $(TargetOS)" />
+ <_CoreClrBuildArg Condition="!$([MSBuild]::IsOsPlatform(Windows))" Include="-os $(TargetOS)" />
</ItemGroup>
<PropertyGroup>