Skip to content

Commit

Permalink
SecurityPkg DSC: Add build option to disable deprecated APIs
Browse files Browse the repository at this point in the history
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 <[email protected]>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <[email protected]>
Reviewed-by: Chao Zhang <[email protected]>
  • Loading branch information
hwu25 committed Aug 8, 2016
1 parent b687fbf commit b32f094
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions SecurityPkg/SecurityPkg.dsc
Original file line number Diff line number Diff line change
Expand Up @@ -325,4 +325,5 @@
[BuildOptions]
MSFT:*_*_IA32_DLINK_FLAGS = /ALIGN:256
INTEL:*_*_IA32_DLINK_FLAGS = /ALIGN:256
*_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES

0 comments on commit b32f094

Please sign in to comment.