summaryrefslogtreecommitdiffstats
path: root/PCbuild/_freeze_module.vcxproj
diff options
context:
space:
mode:
authorneonene <53406459+neonene@users.noreply.github.com>2021-12-19 14:55:13 (GMT)
committerGitHub <noreply@github.com>2021-12-19 14:55:13 (GMT)
commit0b582a4a1b24472a35ed7fc973728ac9d595f123 (patch)
treec49089632c2c14eb000a5327eef0a8327a61e696 /PCbuild/_freeze_module.vcxproj
parent9c06fd89514a9a2865e2adcc472095f6949cecb2 (diff)
downloadcpython-0b582a4a1b24472a35ed7fc973728ac9d595f123.zip
cpython-0b582a4a1b24472a35ed7fc973728ac9d595f123.tar.gz
cpython-0b582a4a1b24472a35ed7fc973728ac9d595f123.tar.bz2
bpo-46123: Disable optimizations for _freeze_module.exe on MSVC for faster building (GH-30181)
Diffstat (limited to 'PCbuild/_freeze_module.vcxproj')
-rw-r--r--PCbuild/_freeze_module.vcxproj3
1 files changed, 3 insertions, 0 deletions
diff --git a/PCbuild/_freeze_module.vcxproj b/PCbuild/_freeze_module.vcxproj
index 42798bf..59519ca 100644
--- a/PCbuild/_freeze_module.vcxproj
+++ b/PCbuild/_freeze_module.vcxproj
@@ -89,10 +89,13 @@
<ItemDefinitionGroup>
<ClCompile>
<PreprocessorDefinitions>Py_NO_ENABLE_SHARED;Py_BUILD_CORE;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <Optimization>Disabled</Optimization>
+ <WholeProgramOptimization>false</WholeProgramOptimization>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<AdditionalDependencies>version.lib;ws2_32.lib;pathcch.lib;bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
+ <LinkTimeCodeGeneration>Default</LinkTimeCodeGeneration>
</Link>
</ItemDefinitionGroup>
<ItemGroup>