diff options
author | Hao Wu <hao.a.wu@intel.com> | 2016-08-01 13:54:48 +0800 |
---|---|---|
committer | Hao Wu <hao.a.wu@intel.com> | 2016-08-08 11:00:04 +0800 |
commit | a61f87eb09e0188395f42781f8022aaf21476c75 (patch) | |
tree | e405d11cb2667c15dc39926ba57317975e2e5419 | |
parent | 8c261d7061d92972be280101efc16c993d6d7711 (diff) | |
download | edk2-platforms-a61f87eb09e0188395f42781f8022aaf21476c75.tar.xz |
IntelFrameworkModulePkg 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: Jeff Fan <jeff.fan@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>
-rw-r--r-- | IntelFrameworkModulePkg/IntelFrameworkModulePkg.dsc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/IntelFrameworkModulePkg/IntelFrameworkModulePkg.dsc b/IntelFrameworkModulePkg/IntelFrameworkModulePkg.dsc index b5b0af7bbc..a9a01aa647 100644 --- a/IntelFrameworkModulePkg/IntelFrameworkModulePkg.dsc +++ b/IntelFrameworkModulePkg/IntelFrameworkModulePkg.dsc @@ -196,3 +196,6 @@ <LibraryClasses>
IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
}
+
+[BuildOptions]
+ *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
|