]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-92984: Explicitly disable incremental linking for Windows Release and PGO builds...
authorDavid Machaj <46852402+dmachaj@users.noreply.github.com>
Thu, 19 May 2022 21:44:03 +0000 (14:44 -0700)
committerGitHub <noreply@github.com>
Thu, 19 May 2022 21:44:03 +0000 (22:44 +0100)
Misc/NEWS.d/next/Windows/2022-05-19-14-01-30.gh-issue-92984.Dsxnlr.rst [new file with mode: 0644]
PCbuild/pyproject.props

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 (file)
index 0000000..2d3071b
--- /dev/null
@@ -0,0 +1 @@
+Explicitly disable incremental linking for non-Debug builds\r
index 8d24393aa1861ec3425095c1b8bda16e75a642b0..df3efc631d154f3aa028a7cfd578dd5226d574c6 100644 (file)
@@ -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>