summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Machaj <46852402+dmachaj@users.noreply.github.com>2022-05-19 21:44:03 (GMT)
committerGitHub <noreply@github.com>2022-05-19 21:44:03 (GMT)
commit38feffa09c74d9a853745908b7813903bae33b96 (patch)
tree7a55a6415f6a1053a2508bcafdb461b3bbcae320
parent403d16fa28764718dcd0536ccb3ab8d05768465d (diff)
downloadcpython-38feffa09c74d9a853745908b7813903bae33b96.zip
cpython-38feffa09c74d9a853745908b7813903bae33b96.tar.gz
cpython-38feffa09c74d9a853745908b7813903bae33b96.tar.bz2
gh-92984: Explicitly disable incremental linking for Windows Release and PGO builds (GH-92985)
-rw-r--r--Misc/NEWS.d/next/Windows/2022-05-19-14-01-30.gh-issue-92984.Dsxnlr.rst1
-rw-r--r--PCbuild/pyproject.props1
2 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Windows/2022-05-19-14-01-30.gh-issue-92984.Dsxnlr.rst b/Misc/NEWS.d/next/Windows/2022-05-19-14-01-30.gh-issue-92984.Dsxnlr.rst
new file mode 100644
index 0000000..2d3071b
--- /dev/null
+++ b/Misc/NEWS.d/next/Windows/2022-05-19-14-01-30.gh-issue-92984.Dsxnlr.rst
@@ -0,0 +1 @@
+Explicitly disable incremental linking for non-Debug builds
diff --git a/PCbuild/pyproject.props b/PCbuild/pyproject.props
index 8d24393..df3efc6 100644
--- a/PCbuild/pyproject.props
+++ b/PCbuild/pyproject.props
@@ -18,6 +18,7 @@
<SupportSigning Condition="'$(SupportSigning)' == ''">true</SupportSigning>
<SupportSigning Condition="'$(Configuration)' == 'Debug'">false</SupportSigning>
<SupportSigning Condition="'$(ConfigurationType)' == 'StaticLibrary'">false</SupportSigning>
+ <LinkIncremental Condition="$(Configuration) != 'Debug'">false</LinkIncremental>
</PropertyGroup>
<PropertyGroup>