diff options
author | Michael Simons <msimons@microsoft.com> | 2021-06-18 16:26:13 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-18 16:26:13 +0300 |
commit | 8d0c26365b715366e5af228318ab915d3d70b6eb (patch) | |
tree | 5c7b7ff7d2bb62a0b85dde56f6f3bcaf0b6cdd36 /src/coreclr/crossgen-corelib.proj | |
parent | f37f0b9819664e0680f20975d4da33fb86b63ad2 (diff) |
Condition MibcArgs for source-build (#54225)
Diffstat (limited to 'src/coreclr/crossgen-corelib.proj')
-rw-r--r-- | src/coreclr/crossgen-corelib.proj | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/coreclr/crossgen-corelib.proj b/src/coreclr/crossgen-corelib.proj index 8e9cef4aa63..6d675a2a59e 100644 --- a/src/coreclr/crossgen-corelib.proj +++ b/src/coreclr/crossgen-corelib.proj @@ -96,7 +96,8 @@ <CrossGenDllCmd>$(CrossGenDllCmd) -o:$(CoreLibOutputPath)</CrossGenDllCmd> <CrossGenDllCmd>$(CrossGenDllCmd) -r:$([MSBuild]::NormalizePath('$(BinDir)', 'IL', '*.dll'))</CrossGenDllCmd> <CrossGenDllCmd>$(CrossGenDllCmd) --targetarch:$(TargetArchitecture)</CrossGenDllCmd> - <CrossGenDllCmd Condition="'$(UsingToolIbcOptimization)' != 'true' and '$(EnableNgenOptimization)' == 'true'">$(CrossGenDllCmd) -m:$(MergedMibcPath) --embed-pgo-data</CrossGenDllCmd> + <MibcArgs>@(OptimizationMibcFiles->'-m:$(MergedMibcPath)', ' ')</MibcArgs> + <CrossGenDllCmd Condition="'$(UsingToolIbcOptimization)' != 'true' and '$(EnableNgenOptimization)' == 'true'">$(CrossGenDllCmd) $(MibcArgs) --embed-pgo-data</CrossGenDllCmd> <CrossGenDllCmd>$(CrossGenDllCmd) -O</CrossGenDllCmd> <CrossGenDllCmd Condition="'$(Configuration)' == 'Debug' or '$(Configuration)' == 'Checked'">$(CrossGenDllCmd) --verify-type-and-field-layout</CrossGenDllCmd> <CrossGenDllCmd>$(CrossGenDllCmd) $(CoreLibInputPath)</CrossGenDllCmd> |