diff options
author | Hao Wu <hao.a.wu@intel.com> | 2016-08-01 14:22:19 +0800 |
---|---|---|
committer | Hao Wu <hao.a.wu@intel.com> | 2016-08-08 11:00:13 +0800 |
commit | 5c8075fce336f25a068cc56b63260aae30d4cf2e (patch) | |
tree | c41a62939b60612ff5f22b0c0962b4266b4c0972 | |
parent | 72a8abde4009a4b933a2ea995cc0ad20ea01a5bf (diff) | |
download | edk2-platforms-5c8075fce336f25a068cc56b63260aae30d4cf2e.tar.xz |
CryptoPkg 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: Qin Long <qin.long@intel.com>
Cc: Ting Ye <ting.ye@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Qin Long <qin.long@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
-rw-r--r-- | CryptoPkg/CryptoPkg.dsc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/CryptoPkg/CryptoPkg.dsc b/CryptoPkg/CryptoPkg.dsc index 5ae0e67f86..3c3e444e04 100644 --- a/CryptoPkg/CryptoPkg.dsc +++ b/CryptoPkg/CryptoPkg.dsc @@ -133,3 +133,6 @@ [Components.IPF]
CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/BaseCryptLibRuntimeCryptProtocol.inf
+
+[BuildOptions]
+ *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
|