diff options
author | Hao Wu <hao.a.wu@intel.com> | 2016-08-01 14:08:13 +0800 |
---|---|---|
committer | Hao Wu <hao.a.wu@intel.com> | 2016-08-08 11:00:06 +0800 |
commit | 4accc1f0f7171df6789674a9c4ee0f561ec6e754 (patch) | |
tree | be89b656dacf3cbca55a1aeea2c43fc5a9864421 /IntelFspWrapperPkg | |
parent | d569f19072e84d7957ae9225de8fbbb09f7de3bb (diff) | |
download | edk2-platforms-4accc1f0f7171df6789674a9c4ee0f561ec6e754.tar.xz |
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.dsc | 3 |
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
|