From 7f024f21ff5f93859bd8031e2c3e13886d517c66 Mon Sep 17 00:00:00 2001 From: Hao Wu Date: Mon, 1 Aug 2016 14:14:57 +0800 Subject: [PATCH] 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 Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu Reviewed-by: Ruiyu Ni --- SourceLevelDebugPkg/SourceLevelDebugPkg.dsc | 3 +++ 1 file changed, 3 insertions(+) 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