From 8c261d7061d92972be280101efc16c993d6d7711 Mon Sep 17 00:00:00 2001 From: Hao Wu Date: Mon, 1 Aug 2016 13:50:50 +0800 Subject: 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 Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu Reviewed-by: Ruiyu Ni --- FatPkg/FatPkg.dsc | 1 + 1 file changed, 1 insertion(+) (limited to 'FatPkg') 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] # -- cgit v1.2.3