summaryrefslogtreecommitdiffstats
path: root/FatPkg/FatPkg.dsc
diff options
context:
space:
mode:
authorHao Wu <hao.a.wu@intel.com>2016-08-01 13:50:50 +0800
committerHao Wu <hao.a.wu@intel.com>2016-08-08 11:00:03 +0800
commit8c261d7061d92972be280101efc16c993d6d7711 (patch)
treed30672c67f454f2f5e14448dcef07ab5c5cb3669 /FatPkg/FatPkg.dsc
parent622b17582e7928d6938ab421848313c3976a368a (diff)
downloadedk2-8c261d7061d92972be280101efc16c993d6d7711.tar.gz
edk2-8c261d7061d92972be280101efc16c993d6d7711.tar.bz2
edk2-8c261d7061d92972be280101efc16c993d6d7711.zip
FatPkg 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: Ruiyu Ni <ruiyu.ni@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a.wu@intel.com> Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
Diffstat (limited to 'FatPkg/FatPkg.dsc')
-rw-r--r--FatPkg/FatPkg.dsc1
1 files changed, 1 insertions, 0 deletions
diff --git a/FatPkg/FatPkg.dsc b/FatPkg/FatPkg.dsc
index 9250ae0a96..d654120454 100644
--- a/FatPkg/FatPkg.dsc
+++ b/FatPkg/FatPkg.dsc
@@ -31,6 +31,7 @@
INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
RVCT:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
+ *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
[LibraryClasses]
#