Issue #8847: Disable COMDAT folding in Windows PGO builds.
diff --git a/Misc/NEWS b/Misc/NEWS
index 847089d..e989b5b 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -315,6 +315,8 @@
Build
-----
+- Issue #8847: Disable COMDAT folding in Windows PGO builds.
+
- Issue #14018: Fix OS X Tcl/Tk framework checking when using OS X SDKs.
- Issue #8767: Restore building with --disable-unicode.
diff --git a/PCbuild/pginstrument.vsprops b/PCbuild/pginstrument.vsprops
index 38c5f18..99c117b 100644
--- a/PCbuild/pginstrument.vsprops
+++ b/PCbuild/pginstrument.vsprops
@@ -22,7 +22,7 @@
<Tool
Name="VCLinkerTool"
OptimizeReferences="2"
- EnableCOMDATFolding="2"
+ EnableCOMDATFolding="1"
LinkTimeCodeGeneration="2"
ProfileGuidedDatabase="$(SolutionDir)$(PlatformName)-pgi\$(TargetName).pgd"
ImportLibrary="$(OutDirPGI)\$(TargetName).lib"