diff options
author | Hao Wu <hao.a.wu@intel.com> | 2016-08-01 14:12:14 +0800 |
---|---|---|
committer | Hao Wu <hao.a.wu@intel.com> | 2016-08-08 11:00:09 +0800 |
commit | b687fbf2ba755b2edc67f9c2971ffb0782a2ad40 (patch) | |
tree | 177d765bc45dce72596c3ae7abfd44e550c9fcae /PerformancePkg | |
parent | f8dfdb8e84656f30d38efca401ed4d146bb119a3 (diff) | |
download | edk2-b687fbf2ba755b2edc67f9c2971ffb0782a2ad40.tar.gz edk2-b687fbf2ba755b2edc67f9c2971ffb0782a2ad40.tar.bz2 edk2-b687fbf2ba755b2edc67f9c2971ffb0782a2ad40.zip |
PerformancePkg 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: 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>
Diffstat (limited to 'PerformancePkg')
-rw-r--r-- | PerformancePkg/PerformancePkg.dsc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/PerformancePkg/PerformancePkg.dsc b/PerformancePkg/PerformancePkg.dsc index ac53c4eff3..4278cbd092 100644 --- a/PerformancePkg/PerformancePkg.dsc +++ b/PerformancePkg/PerformancePkg.dsc @@ -80,3 +80,6 @@ [Components]
PerformancePkg/Dp_App/Dp.inf
+
+[BuildOptions]
+ *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
|