]> git.proxmox.com Git - mirror_edk2.git/commit
BaseTools/Source/C: Use /Z7 instead of /Zi for host tools
authorMichael D Kinney <michael.d.kinney@intel.com>
Sat, 5 Nov 2022 19:43:24 +0000 (12:43 -0700)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Tue, 8 Nov 2022 18:29:51 +0000 (18:29 +0000)
commit0be81a4d83810cdb018d293bc264f489e7664043
tree9d7f116f139bb2741f3be7197ba95e5aa94ae3d3
parent6032b46dce1dea705f95ecfdb68656281f0822f7
BaseTools/Source/C: Use /Z7 instead of /Zi for host tools

REF:https://bugzilla.tianocore.org/show_bug.cgi?id=4139

Update ms.common and *.mak files to use /Z7 instead of /Zi to embed
symbol information in obj files for host tools built with VS compilers.
This prevents vcxxx.pdb files from being generated in the root of
the local edk2 repository or in BaseTools directories.

Cc: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Yuwei Chen <yuwei.chen@intel.com>
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
BaseTools/Source/C/Makefiles/ms.common
BaseTools/Source/C/VfrCompile/Pccts/antlr/AntlrDDK.mak
BaseTools/Source/C/VfrCompile/Pccts/antlr/AntlrMS.mak
BaseTools/Source/C/VfrCompile/Pccts/dlg/DlgDDK.mak
BaseTools/Source/C/VfrCompile/Pccts/dlg/DlgMS.mak