Skip to content

Commit 4952608

Browse files
gh-92984: Explicitly disable incremental linking for Windows Release and PGO builds (GH-92985)
(cherry picked from commit 38feffa) Co-authored-by: David Machaj <[email protected]>
1 parent c146525 commit 4952608

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Explicitly disable incremental linking for non-Debug builds

PCbuild/pyproject.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
<SupportSigning Condition="'$(SupportSigning)' == ''">true</SupportSigning>
1919
<SupportSigning Condition="'$(Configuration)' == 'Debug'">false</SupportSigning>
2020
<SupportSigning Condition="'$(ConfigurationType)' == 'StaticLibrary'">false</SupportSigning>
21+
<LinkIncremental Condition="$(Configuration) != 'Debug'">false</LinkIncremental>
2122
</PropertyGroup>
2223

2324
<PropertyGroup>

0 commit comments

Comments
 (0)