[edk2] [PATCH 0/1] BaseTools/Conf: Add /Gw optimisation option for VS2017 IA32 and X64

Pete Batard posted 1 patch 5 years, 12 months ago
Failed in applying to current master (apply log)
BaseTools/Conf/tools_def.template | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
[edk2] [PATCH 0/1] BaseTools/Conf: Add /Gw optimisation option for VS2017 IA32 and X64
Posted by Pete Batard 5 years, 12 months ago
It looks like we forgot to carry over the /Gw optimisation option when adding
VS2017 support for IA32 and X64, whereas it is present in VS2015 and earlier.

Binaries without /Gw can be almost twice as large as when the option is used:
https://docs.microsoft.com/en-gb/cpp/build/reference/gw-optimize-global-data

Note that ARM and ARM64 are unaffected, as they already have the flag.

Pete Batard (1):
  BaseTools/Conf: Add /Gw optimisation option for VS2017 IA32 and X64

 BaseTools/Conf/tools_def.template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

-- 
2.17.0.windows.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel