summaryrefslogtreecommitdiff
path: root/MdeModulePkg/MdeModulePkg.dsc
diff options
context:
space:
mode:
authorHao Wu <hao.a.wu@intel.com>2016-08-01 14:08:54 +0800
committerHao Wu <hao.a.wu@intel.com>2016-08-08 11:00:07 +0800
commit42beb6e422696c1e548576f0610550e53bff18c4 (patch)
treebaaf1403bb0df9e8026919d46cd35fcbb37764f4 /MdeModulePkg/MdeModulePkg.dsc
parent4accc1f0f7171df6789674a9c4ee0f561ec6e754 (diff)
downloadedk2-42beb6e422696c1e548576f0610550e53bff18c4.zip
edk2-42beb6e422696c1e548576f0610550e53bff18c4.tar.gz
edk2-42beb6e422696c1e548576f0610550e53bff18c4.tar.bz2
MdeModulePkg 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: Feng Tian <feng.tian@intel.com> Cc: Star Zeng <star.zeng@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a.wu@intel.com> Reviewed-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Feng Tian <feng.tian@Intel.com>
Diffstat (limited to 'MdeModulePkg/MdeModulePkg.dsc')
-rw-r--r--MdeModulePkg/MdeModulePkg.dsc3
1 files changed, 3 insertions, 0 deletions
diff --git a/MdeModulePkg/MdeModulePkg.dsc b/MdeModulePkg/MdeModulePkg.dsc
index ce29eb9..05120c7 100644
--- a/MdeModulePkg/MdeModulePkg.dsc
+++ b/MdeModulePkg/MdeModulePkg.dsc
@@ -460,3 +460,6 @@
[Components.X64]
MdeModulePkg/Universal/CapsulePei/CapsuleX64.inf
+[BuildOptions]
+ *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
+