mirror of https://github.com/acidanthera/audk.git
SourceLevelDebugPkg DSC: Add build option to disable deprecated APIs
Add the following definition in the [BuildOptions] section in package DSC files to disable APIs that are deprecated: [BuildOptions] *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES Cc: Jeff Fan <jeff.fan@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a.wu@intel.com> Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
This commit is contained in:
parent
8677661631
commit
7f024f21ff
|
@ -107,3 +107,6 @@
|
||||||
SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf
|
SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf
|
||||||
SourceLevelDebugPkg/DebugAgentPei/DebugAgentPei.inf
|
SourceLevelDebugPkg/DebugAgentPei/DebugAgentPei.inf
|
||||||
SourceLevelDebugPkg/DebugAgentDxe/DebugAgentDxe.inf
|
SourceLevelDebugPkg/DebugAgentDxe/DebugAgentDxe.inf
|
||||||
|
|
||||||
|
[BuildOptions]
|
||||||
|
*_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
|
||||||
|
|
Loading…
Reference in New Issue