]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-46123: Disable optimizations for _freeze_module.exe on MSVC for faster building...
authorneonene <53406459+neonene@users.noreply.github.com>
Sun, 19 Dec 2021 14:55:13 +0000 (23:55 +0900)
committerGitHub <noreply@github.com>
Sun, 19 Dec 2021 14:55:13 +0000 (14:55 +0000)
PCbuild/_freeze_module.vcxproj

index 42798bf8113c7b918d80aed37363ba9eaff1f00c..59519cade26705df5ea9d55ccdf4bcdda5d54b3e 100644 (file)
   <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>