From bcbdad14fa21436e8647db8c86e680ac3315a3d1 Mon Sep 17 00:00:00 2001 From: Austin Lamb Date: Mon, 4 Jan 2021 09:45:11 -0800 Subject: [PATCH] bpo-42825: Enable /OPT:REF, but explicitly disable /OPT:ICF since it causes test failures as Python310.dll depends on some identical things not folding together (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 d7762ca1bc6..6b3c8b0196c 100644 --- a/PCbuild/pyproject.props +++ b/PCbuild/pyproject.props @@ -73,6 +73,7 @@ PGInstrument PGUpdate advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;%(AdditionalDependencies) + /OPT:REF,NOICF %(AdditionalOptions) true