public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH 0/1] BaseTools/Conf: Add /Gw optimisation option for VS2017 IA32 and X64
@ 2018-04-24 16:10 Pete Batard
  2018-04-24 16:10 ` [PATCH 1/1] " Pete Batard
  0 siblings, 1 reply; 3+ messages in thread
From: Pete Batard @ 2018-04-24 16:10 UTC (permalink / raw)
  To: edk2-devel; +Cc: liming.gao

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-04-25  2:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-24 16:10 [PATCH 0/1] BaseTools/Conf: Add /Gw optimisation option for VS2017 IA32 and X64 Pete Batard
2018-04-24 16:10 ` [PATCH 1/1] " Pete Batard
2018-04-25  2:16   ` Gao, Liming

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox