diff options
author | Hao Wu <hao.a.wu@intel.com> | 2016-08-01 14:14:57 +0800 |
---|---|---|
committer | Hao Wu <hao.a.wu@intel.com> | 2016-08-08 11:00:11 +0800 |
commit | 7f024f21ff5f93859bd8031e2c3e13886d517c66 (patch) | |
tree | 72af324f07c709d1fb05e80d2b4cecf9bd7f90b2 /SourceLevelDebugPkg | |
parent | 867766163161a6de57aa7b9f862548a865ec1156 (diff) | |
download | edk2-7f024f21ff5f93859bd8031e2c3e13886d517c66.tar.gz edk2-7f024f21ff5f93859bd8031e2c3e13886d517c66.tar.bz2 edk2-7f024f21ff5f93859bd8031e2c3e13886d517c66.zip |
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>
Diffstat (limited to 'SourceLevelDebugPkg')
-rw-r--r-- | SourceLevelDebugPkg/SourceLevelDebugPkg.dsc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/SourceLevelDebugPkg/SourceLevelDebugPkg.dsc b/SourceLevelDebugPkg/SourceLevelDebugPkg.dsc index bf14ec452e..d9b1b84b15 100644 --- a/SourceLevelDebugPkg/SourceLevelDebugPkg.dsc +++ b/SourceLevelDebugPkg/SourceLevelDebugPkg.dsc @@ -107,3 +107,6 @@ SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf
SourceLevelDebugPkg/DebugAgentPei/DebugAgentPei.inf
SourceLevelDebugPkg/DebugAgentDxe/DebugAgentDxe.inf
+
+[BuildOptions]
+ *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
|