diff options
author | Hao Wu <hao.a.wu@intel.com> | 2016-08-01 14:09:43 +0800 |
---|---|---|
committer | Hao Wu <hao.a.wu@intel.com> | 2016-08-08 11:00:08 +0800 |
commit | f2ecdbf0042f242913fdec230ec2643c2e2dcf38 (patch) | |
tree | a6dd9395c27e9a2be5c7d251d55fa84f5abdf36b /MdePkg | |
parent | 42beb6e422696c1e548576f0610550e53bff18c4 (diff) | |
download | edk2-platforms-f2ecdbf0042f242913fdec230ec2643c2e2dcf38.tar.xz |
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>
Diffstat (limited to 'MdePkg')
-rw-r--r-- | MdePkg/MdePkg.dsc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/MdePkg/MdePkg.dsc b/MdePkg/MdePkg.dsc index 7fe9e6bb4a..ab57689c62 100644 --- a/MdePkg/MdePkg.dsc +++ b/MdePkg/MdePkg.dsc @@ -178,3 +178,6 @@ [Components.ARM, Components.AARCH64]
MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
+
+[BuildOptions]
+ *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
|