From: Austin Lamb Date: Fri, 19 Feb 2021 23:27:01 +0000 (-0800) Subject: bpo-42825: Enable /OPT:REF (GH-24098) X-Git-Tag: v3.10.0a6~56 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b4af629f4d4868ef74ee298d66259fae78c7fd89;p=thirdparty%2FPython%2Fcpython.git bpo-42825: Enable /OPT:REF (GH-24098) We explicitly disable /OPT:ICF as some manual optimisations depend on some functions still having distinct pointers (such as wrap_binary_func and wrap_binary_func_l). --- diff --git a/PCbuild/pyproject.props b/PCbuild/pyproject.props index 98e5ab030321..834b27c86d42 100644 --- a/PCbuild/pyproject.props +++ b/PCbuild/pyproject.props @@ -74,6 +74,7 @@ PGInstrument PGUpdate advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;%(AdditionalDependencies) + /OPT:REF,NOICF %(AdditionalOptions) true