]> git.proxmox.com Git - mirror_edk2.git/commitdiff
SecurityPkg DSC: Add build option to disable deprecated APIs
authorHao Wu <hao.a.wu@intel.com>
Mon, 1 Aug 2016 06:13:48 +0000 (14:13 +0800)
committerHao Wu <hao.a.wu@intel.com>
Mon, 8 Aug 2016 03:00:10 +0000 (11:00 +0800)
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>
SecurityPkg/SecurityPkg.dsc

index 21cac786b41228241a81cb2ae05047c465e47b93..0ac4dfb5c83a991fe39f985a5dc5453fbdfa96a3 100644 (file)
 [BuildOptions]\r
    MSFT:*_*_IA32_DLINK_FLAGS = /ALIGN:256\r
   INTEL:*_*_IA32_DLINK_FLAGS = /ALIGN:256\r
+        *_*_*_CC_FLAGS       = -D DISABLE_NEW_DEPRECATED_INTERFACES\r
 \r