diff --git a/Misc/NEWS.d/next/Windows/2020-04-01-23-51-14.bpo-40151.fyT5PT.rst b/Misc/NEWS.d/next/Windows/2020-04-01-23-51-14.bpo-40151.fyT5PT.rst new file mode 100644 index 000000000000000..8abd0361f82492e --- /dev/null +++ b/Misc/NEWS.d/next/Windows/2020-04-01-23-51-14.bpo-40151.fyT5PT.rst @@ -0,0 +1,10 @@ +Similarly to bpo-40145, this tweaks build options to reduce the size of the +_overlapped binary. + +_overlapped.pyd 32 bit release size reduction: -3KB + +_overlapped_d.pyd 32 bit debug size reduction: -21KB + +_overlapped.pyd 64 bit release size reduction: -3KB + +_overlapped_d.pyd 64 bit debug size reduction: -33KB diff --git a/PCbuild/_overlapped.vcxproj b/PCbuild/_overlapped.vcxproj index 9e60d3b5db336c8..2b9a0dabe88b56f 100644 --- a/PCbuild/_overlapped.vcxproj +++ b/PCbuild/_overlapped.vcxproj @@ -94,7 +94,106 @@ ws2_32.lib;%(AdditionalDependencies) + DebugFull + DebugFull + DebugFull + true + true + UseLinkTimeCodeGeneration + true + true + UseLinkTimeCodeGeneration + true + true + UseLinkTimeCodeGeneration + DebugFull + DebugFull + DebugFull + DebugFull + DebugFull + DebugFull + DebugFull + DebugFull + DebugFull + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + + AnySuitable + + + true + /Zo + Custom + + + AnySuitable + + + true + /Zo + Custom + + + AnySuitable + + + true + /Zo + Custom + + + AnySuitable + /Zo /Gw + + + AnySuitable + /Zo /Gw + + + AnySuitable + /Zo /Gw + + + AnySuitable + /Zo /Gw + + + AnySuitable + /Zo /Gw + + + AnySuitable + /Zo /Gw + + + AnySuitable + /Zo /Gw + + + AnySuitable + /Zo /Gw + + + AnySuitable + /Zo /Gw +