diff options
author | Hao Wu <hao.a.wu@intel.com> | 2016-08-01 14:13:48 +0800 |
---|---|---|
committer | Hao Wu <hao.a.wu@intel.com> | 2016-08-08 11:00:10 +0800 |
commit | b32f094cd34d54eda6b8a4cf94f1a4f2e0c334d8 (patch) | |
tree | 7227a898a10cdaf1a763101fae40ff8f2789aabb | |
parent | b687fbf2ba755b2edc67f9c2971ffb0782a2ad40 (diff) | |
download | edk2-platforms-b32f094cd34d54eda6b8a4cf94f1a4f2e0c334d8.tar.xz |
SecurityPkg 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: Chao Zhang <chao.b.zhang@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Chao Zhang <chao.b.zhang@intel.com>
-rw-r--r-- | SecurityPkg/SecurityPkg.dsc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/SecurityPkg/SecurityPkg.dsc b/SecurityPkg/SecurityPkg.dsc index 21cac786b4..0ac4dfb5c8 100644 --- a/SecurityPkg/SecurityPkg.dsc +++ b/SecurityPkg/SecurityPkg.dsc @@ -325,4 +325,5 @@ [BuildOptions]
MSFT:*_*_IA32_DLINK_FLAGS = /ALIGN:256
INTEL:*_*_IA32_DLINK_FLAGS = /ALIGN:256
+ *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
|