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/runtime.proj | |
parent | 0ff46ab78fd083194ed61b330317c93ec4fd2e68 (diff) |
Fix build break in coreclr where -os is not supported in Windows (#34358)
Diffstat (limited to 'src/coreclr/runtime.proj')
-rw-r--r-- | src/coreclr/runtime.proj | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/coreclr/runtime.proj b/src/coreclr/runtime.proj index 344d76b2f28..02c4c5e2052 100644 --- a/src/coreclr/runtime.proj +++ b/src/coreclr/runtime.proj @@ -10,7 +10,7 @@ <_CoreClrBuildArg Include="$(Compiler)" /> <_CoreClrBuildArg Condition="'$(ContinuousIntegrationBuild)' == 'true'" Include="-ci" /> <_CoreClrBuildArg Condition="'$(CrossBuild)' == 'true'" Include="-cross" /> - <_CoreClrBuildArg Include="-os $(TargetOS)" /> + <_CoreClrBuildArg Condition="!$([MSBuild]::IsOsPlatform(Windows))" Include="-os $(TargetOS)" /> <_CoreClrBuildArg Condition="$([MSBuild]::IsOsPlatform(Windows)) and ('$(TargetArchitecture)' == 'x86' or '$(TargetArchitecture)' == 'x64') and '$(Configuration)' == 'Release'" Include="-enforcepgo" /> <_CoreClrBuildArg Condition="$([MSBuild]::IsOsPlatform(Windows)) and '$(CrossDac)' != ''" Include="-$(CrossDac)dac" /> |