]> git.proxmox.com Git - mirror_edk2.git/commit - MdePkg/MdePkg.dsc
MdePkg DSC: Add build option to disable deprecated APIs
authorHao Wu <hao.a.wu@intel.com>
Mon, 1 Aug 2016 06:09:43 +0000 (14:09 +0800)
committerHao Wu <hao.a.wu@intel.com>
Mon, 8 Aug 2016 03:00:08 +0000 (11:00 +0800)
commitf2ecdbf0042f242913fdec230ec2643c2e2dcf38
treea6dd9395c27e9a2be5c7d251d55fa84f5abdf36b
parent42beb6e422696c1e548576f0610550e53bff18c4
MdePkg 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: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
MdePkg/MdePkg.dsc