summaryrefslogtreecommitdiffstats
path: root/IntelFrameworkModulePkg
diff options
context:
space:
mode:
authorHao Wu <hao.a.wu@intel.com>2016-08-01 13:54:48 +0800
committerHao Wu <hao.a.wu@intel.com>2016-08-08 11:00:04 +0800
commita61f87eb09e0188395f42781f8022aaf21476c75 (patch)
treee405d11cb2667c15dc39926ba57317975e2e5419 /IntelFrameworkModulePkg
parent8c261d7061d92972be280101efc16c993d6d7711 (diff)
downloadedk2-a61f87eb09e0188395f42781f8022aaf21476c75.tar.gz
edk2-a61f87eb09e0188395f42781f8022aaf21476c75.tar.bz2
edk2-a61f87eb09e0188395f42781f8022aaf21476c75.zip
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>
Diffstat (limited to 'IntelFrameworkModulePkg')
-rw-r--r--IntelFrameworkModulePkg/IntelFrameworkModulePkg.dsc3
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