diff options
author | Santiago Fernandez Madero <safern@microsoft.com> | 2020-04-01 11:33:17 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-01 11:33:17 +0300 |
commit | a4fa31e4d8e0e141e76cbfa473d3ad214cafcad2 (patch) | |
tree | d6f188c8a6c1e42419e9cd5a7ed16523e00a090e /src/coreclr/crossgen-corelib.proj | |
parent | 0ff46ab78fd083194ed61b330317c93ec4fd2e68 (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.proj | 2 |
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> |