summaryrefslogtreecommitdiff
path: root/IntelFrameworkPkg
diff options
context:
space:
mode:
authorHao Wu <hao.a.wu@intel.com>2016-08-01 14:03:03 +0800
committerHao Wu <hao.a.wu@intel.com>2016-08-08 11:00:04 +0800
commit1da1e8ab22e91569ccff3350243bfeeb1bfe7020 (patch)
tree799d982e05ae2affffa419c7b69332235a972281 /IntelFrameworkPkg
parenta61f87eb09e0188395f42781f8022aaf21476c75 (diff)
downloadedk2-platforms-1da1e8ab22e91569ccff3350243bfeeb1bfe7020.tar.xz
IntelFrameworkPkg 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 'IntelFrameworkPkg')
-rw-r--r--IntelFrameworkPkg/IntelFrameworkPkg.dsc3
1 files changed, 3 insertions, 0 deletions
diff --git a/IntelFrameworkPkg/IntelFrameworkPkg.dsc b/IntelFrameworkPkg/IntelFrameworkPkg.dsc
index afda3e7aff..2985d38bb2 100644
--- a/IntelFrameworkPkg/IntelFrameworkPkg.dsc
+++ b/IntelFrameworkPkg/IntelFrameworkPkg.dsc
@@ -70,3 +70,6 @@
IntelFrameworkPkg/Library/PeiSmbusLibSmbusPpi/PeiSmbusLibSmbusPpi.inf
IntelFrameworkPkg/Library/PeiHobLibFramework/PeiHobLibFramework.inf
+[BuildOptions]
+ *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
+