From b4af629f4d4868ef74ee298d66259fae78c7fd89 Mon Sep 17 00:00:00 2001 From: Austin Lamb Date: Fri, 19 Feb 2021 15:27:01 -0800 Subject: [PATCH] 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). --- PCbuild/pyproject.props | 1 + 1 file changed, 1 insertion(+) diff --git a/PCbuild/pyproject.props b/PCbuild/pyproject.props index 98e5ab03032..834b27c86d4 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