diff options
author | Crowthebird <78076854+thatbirdguythatuknownot@users.noreply.github.com> | 2021-12-03 19:47:38 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-03 19:47:38 (GMT) |
commit | d9301703fb1086cafbd730c17e3d450a192485d6 (patch) | |
tree | 6049aa691226c8b79ef01c8b9fc6d3f15ad24100 /PCbuild/pyproject.props | |
parent | 2ff758bd1a144ee712e96ae1db91f476c3b252bb (diff) | |
download | cpython-d9301703fb1086cafbd730c17e3d450a192485d6.zip cpython-d9301703fb1086cafbd730c17e3d450a192485d6.tar.gz cpython-d9301703fb1086cafbd730c17e3d450a192485d6.tar.bz2 |
bpo-45816: Support building with VS 2022 (v143 toolset) on Windows (GH-29577)
Diffstat (limited to 'PCbuild/pyproject.props')
-rw-r--r-- | PCbuild/pyproject.props | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/PCbuild/pyproject.props b/PCbuild/pyproject.props index bbcabb5..0eaeb6b 100644 --- a/PCbuild/pyproject.props +++ b/PCbuild/pyproject.props @@ -73,7 +73,7 @@ <LinkTimeCodeGeneration Condition="$(SupportPGO) and $(Configuration) == 'PGInstrument'">PGInstrument</LinkTimeCodeGeneration> <LinkTimeCodeGeneration Condition="$(SupportPGO) and $(Configuration) == 'PGUpdate'">PGUpdate</LinkTimeCodeGeneration> <AdditionalDependencies>advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;%(AdditionalDependencies)</AdditionalDependencies> - <AdditionalOptions Condition="$(Configuration) != 'Debug'">/OPT:REF,NOICF %(AdditionalOptions)</AdditionalOptions> + <AdditionalOptions Condition="$(Configuration) != 'Debug'">/OPT:REF,NOICF /CGTHREADS:1 /PDBTHREADS:1 %(AdditionalOptions)</AdditionalOptions> </Link> <Lib> <LinkTimeCodeGeneration Condition="$(Configuration) == 'Release'">true</LinkTimeCodeGeneration> |