Partial revert of #71486 to unblock dotnet/sdk (#80791)
authorJan Kotas <jkotas@microsoft.com>
Wed, 18 Jan 2023 17:39:28 +0000 (09:39 -0800)
committerGitHub <noreply@github.com>
Wed, 18 Jan 2023 17:39:28 +0000 (09:39 -0800)
src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.targets

index 2e134e663a493bed357d8a221fe160c40e222b39..696fa19c03afc81912489a63047bd7880a1172f2 100755 (executable)
@@ -214,7 +214,6 @@ The .NET Foundation licenses this file to you under the MIT license.
       <IlcArg Include="@(MibcFile->'--mibc:%(Identity)')" />
       <IlcArg Condition="$(IlcGenerateMetadataLog) == 'true'" Include="--metadatalog:$(NativeIntermediateOutputPath)%(ManagedBinary.Filename).metadata.csv" />
       <IlcArg Condition="$(TargetArchitecture) != ''" Include="--targetarch:$(TargetArchitecture)" />
-      <IlcArg Condition="$(TargetOS) != ''" Include="--targetos:$(TargetOS)" />
       <IlcArg Condition="$(IlcMultiModule) == 'true'" Include="--multifile" />
       <IlcArg Condition="$(IlcMultiModule) != 'true' and '$(IlcDehydrate)' != 'false' and '$(ControlFlowGuard)' != 'Guard'" Include="--dehydrate" />
       <IlcArg Condition="$(Optimize) == 'true'" Include="-O" />