mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-08 17:05:09 +02:00
BaseTools: Add /WHOLEARCHIVE for VS2022 Builds
VS2022's DLINK2_FLAGS (containing only /WHOLEARCHIVE) was commented out during upstreaming, due to some downstream platform issues when /WHOLEARCHIVE was set. This does not prove an issue for edk2 and is what is used for earlier versions of VS, so is added here for VS2022. If platforms see issues, bugs should be filed on edk2 (or fixed in the platform if applicable). Signed-off-by: Oliver Smith-Denny <osde@microsoft.com>
This commit is contained in:
parent
4c7c90254f
commit
f1e014a5ca
@ -751,7 +751,7 @@ NOOPT_VS2019_AARCH64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF
|
||||
*_VS2022_*_APP_FLAGS = /nologo /E /TC
|
||||
*_VS2022_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
|
||||
*_VS2022_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
|
||||
# *_VS2022_*_DLINK2_FLAGS = /WHOLEARCHIVE # MU_CHANGE
|
||||
*_VS2022_*_DLINK2_FLAGS = /WHOLEARCHIVE
|
||||
*_VS2022_*_ASM16_PATH = DEF(VS2022_BIN_IA32)\ml.exe
|
||||
*_VS2022_*_DEPS_FLAGS = DEF(MSFT_DEPS_FLAGS)
|
||||
##################
|
||||
|
Loading…
x
Reference in New Issue
Block a user