diff options
author | Yonghong Zhu <yonghong.zhu@intel.com> | 2017-06-14 15:35:03 +0800 |
---|---|---|
committer | Yonghong Zhu <yonghong.zhu@intel.com> | 2017-06-23 12:24:49 +0800 |
commit | 75f0094ef75f35869d70bd96375be8109da20553 (patch) | |
tree | b3a469c6a47495f0608dc53959014b08ed298b2a /BaseTools/Source/Python/Common/Parsing.py | |
parent | 3858c58afad1e1cf84956917eae9f337e8820e56 (diff) | |
download | edk2-75f0094ef75f35869d70bd96375be8109da20553.tar.gz edk2-75f0094ef75f35869d70bd96375be8109da20553.tar.bz2 edk2-75f0094ef75f35869d70bd96375be8109da20553.zip |
BaseTools: add /Gw to CC_FLAGS for VS2013 and higher tool chain tags
The /Gw flag does a better job at size optimization than use of the
GLOBAL_REMOVE_IF_UNREFERENCED macro that is currently used for VS20xx
tool chains to remove unreferenced global variables.
This patch add /Gw to CC_FLAGS for VS2013 and higher tool chain tags.
Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com>
Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Common/Parsing.py')
0 files changed, 0 insertions, 0 deletions