summaryrefslogtreecommitdiffstats
path: root/IntelFspWrapperPkg
diff options
context:
space:
mode:
authorHao Wu <hao.a.wu@intel.com>2016-08-01 14:08:13 +0800
committerHao Wu <hao.a.wu@intel.com>2016-08-08 11:00:06 +0800
commit4accc1f0f7171df6789674a9c4ee0f561ec6e754 (patch)
treebe89b656dacf3cbca55a1aeea2c43fc5a9864421 /IntelFspWrapperPkg
parentd569f19072e84d7957ae9225de8fbbb09f7de3bb (diff)
downloadedk2-4accc1f0f7171df6789674a9c4ee0f561ec6e754.tar.gz
edk2-4accc1f0f7171df6789674a9c4ee0f561ec6e754.tar.bz2
edk2-4accc1f0f7171df6789674a9c4ee0f561ec6e754.zip
IntelFspWrapperPkg 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 <jiewen.yao@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a.wu@intel.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Diffstat (limited to 'IntelFspWrapperPkg')
-rw-r--r--IntelFspWrapperPkg/IntelFspWrapperPkg.dsc3
1 files changed, 3 insertions, 0 deletions
diff --git a/IntelFspWrapperPkg/IntelFspWrapperPkg.dsc b/IntelFspWrapperPkg/IntelFspWrapperPkg.dsc
index 3714e30985..c9603889e8 100644
--- a/IntelFspWrapperPkg/IntelFspWrapperPkg.dsc
+++ b/IntelFspWrapperPkg/IntelFspWrapperPkg.dsc
@@ -83,3 +83,6 @@
gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x1f
gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80080046
gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
+
+[BuildOptions]
+ *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES