]> git.proxmox.com Git - mirror_edk2.git/commitdiff
PerformancePkg DSC: Add build option to disable deprecated APIs
authorHao Wu <hao.a.wu@intel.com>
Mon, 1 Aug 2016 06:12:14 +0000 (14:12 +0800)
committerHao Wu <hao.a.wu@intel.com>
Mon, 8 Aug 2016 03:00:09 +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: Daryl McDaniel <edk2-lists@mc2research.org>
Cc: Jaben Carsey <jaben.carsey@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>
PerformancePkg/PerformancePkg.dsc

index ac53c4eff3011b5c76659b48a05a6859c75308a8..4278cbd092712e6015e65ffc6f95d7b87949fd3c 100644 (file)
@@ -80,3 +80,6 @@
 \r
 [Components]\r
   PerformancePkg/Dp_App/Dp.inf\r
+\r
+[BuildOptions]\r
+  *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES\r