Merged PR 4560408: [Git2Git] LKG9 optimizer workaround

[Git2Git] Git Train: Merge of building/rs_onecore_dep_uxp/200414-1630 into official/rs_onecore_dep_uxp Retrieved from https://microsoft.visualstudio.com os OS official/rs_onecore_dep_uxp 90031afa8114b7d95e3993573fc8449a1524a7fd

Related work items: #25439646
This commit is contained in:
Michael Niksa 2020-04-21 17:44:56 +00:00 committed by Dustin Howett
parent 2c55ca107f
commit 252c7d36a4

View file

@ -242,3 +242,7 @@ DELAYLOAD = \
ext-ms-win-uxtheme-themes-l1.dll; \
DLOAD_ERROR_HANDLER = kernelbase
# Add /d2:-notypeopt to disable optimization bug caused by LKG9. Bug #25439646
USER_C_FLAGS=/d2notypeopt $(USER_C_FLAGS)
LINKER_FLAGS=/d2:-notypeopt $(LINKER_FLAGS)