From b687fbf2ba755b2edc67f9c2971ffb0782a2ad40 Mon Sep 17 00:00:00 2001 From: Hao Wu Date: Mon, 1 Aug 2016 14:12:14 +0800 Subject: PerformancePkg 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: Daryl McDaniel Cc: Jaben Carsey Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu Reviewed-by: Liming Gao --- PerformancePkg/PerformancePkg.dsc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'PerformancePkg') diff --git a/PerformancePkg/PerformancePkg.dsc b/PerformancePkg/PerformancePkg.dsc index ac53c4eff3..4278cbd092 100644 --- a/PerformancePkg/PerformancePkg.dsc +++ b/PerformancePkg/PerformancePkg.dsc @@ -80,3 +80,6 @@ [Components] PerformancePkg/Dp_App/Dp.inf + +[BuildOptions] + *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES -- cgit v1.2.3