From 49526080eb448b750396caf90081ff846e36a36d Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Thu, 19 May 2022 15:48:42 -0700 Subject: [PATCH] gh-92984: Explicitly disable incremental linking for Windows Release and PGO builds (GH-92985) (cherry picked from commit 38feffa09c74d9a853745908b7813903bae33b96) Co-authored-by: David Machaj <46852402+dmachaj@users.noreply.github.com> --- .../next/Windows/2022-05-19-14-01-30.gh-issue-92984.Dsxnlr.rst | 1 + PCbuild/pyproject.props | 1 + 2 files changed, 2 insertions(+) create mode 100644 Misc/NEWS.d/next/Windows/2022-05-19-14-01-30.gh-issue-92984.Dsxnlr.rst 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 00000000000..2d3071b00b7 --- /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 d492b71dfba..5af68b27d4c 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> -- GitLab