From 56c1b0cb2fc2ac3d36747c28321a414d715ab9c3 Mon Sep 17 00:00:00 2001 From: Hao Wu Date: Mon, 1 Aug 2016 14:06:31 +0800 Subject: [PATCH] IntelFsp2WrapperPkg 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: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu Reviewed-by: Jiewen Yao --- IntelFsp2WrapperPkg/IntelFsp2WrapperPkg.dsc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/IntelFsp2WrapperPkg/IntelFsp2WrapperPkg.dsc b/IntelFsp2WrapperPkg/IntelFsp2WrapperPkg.dsc index 829203013f..6496dadb5b 100644 --- a/IntelFsp2WrapperPkg/IntelFsp2WrapperPkg.dsc +++ b/IntelFsp2WrapperPkg/IntelFsp2WrapperPkg.dsc @@ -92,3 +92,6 @@ gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x1f gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80080046 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07 + +[BuildOptions] + *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES