diff options
author | Ashraf Ali <ashraf.ali.s@intel.com> | 2024-09-01 22:37:11 +0530 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-09-06 01:54:53 +0000 |
commit | bfb33c0e09b0cf05460168c00ec43817b835f897 (patch) | |
tree | f8bafec4f1d76130119c4f97b1789f4924d94d69 /MdePkg | |
parent | 013d51771a67ff87e6cb17a57e156ef4b6f4ec54 (diff) | |
download | edk2-bfb33c0e09b0cf05460168c00ec43817b835f897.tar.gz edk2-bfb33c0e09b0cf05460168c00ec43817b835f897.tar.bz2 edk2-bfb33c0e09b0cf05460168c00ec43817b835f897.zip |
BaseTools: Disable MSVC volatileMetadata for VS2019 and VS2022 for X64
Starting with Visual Studio 2019 version 16.10, the /volatileMetadata
option is enabled by default when generating x64 code.
This patch disables the /volatileMetadata option for x64 builds in both
VS2019 and VS2022.
We observed a slight increase in used space for the Firmware volumes in
VS2019. Upon investigation, we found that VS2019 version 16.10 enabled
this feature by default. Disabling /volatileMetadata helps reduce the
used space by approximately 3.5KB by considering the 2 Firmware volumes
(2KB uncompressed FV and 1.5KB of compressed FV)
Signed-off-by: Ashraf Ali <ashraf.ali.s@intel.com>
Diffstat (limited to 'MdePkg')
0 files changed, 0 insertions, 0 deletions