Explorar o código

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>
Hao Wu %!s(int64=7) %!d(string=hai) anos
pai
achega
8c261d7061
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      FatPkg/FatPkg.dsc

+ 1 - 0
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]
   #