diff options
author | Maurice Ma <maurice.ma@intel.com> | 2016-10-24 14:34:52 -0700 |
---|---|---|
committer | Maurice Ma <maurice.ma@intel.com> | 2016-10-26 14:56:34 -0700 |
commit | 3f0edb77f6c6b2ae644fac5526febbf3e2fbef73 (patch) | |
tree | cfb022b6f36a16f532f986b84ca84da5b28391ec /CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc | |
parent | 937f5cb6ac65590174379623acd88d4f1caf0c77 (diff) | |
download | edk2-3f0edb77f6c6b2ae644fac5526febbf3e2fbef73.zip edk2-3f0edb77f6c6b2ae644fac5526febbf3e2fbef73.tar.gz edk2-3f0edb77f6c6b2ae644fac5526febbf3e2fbef73.tar.bz2 |
CorebootPayloadPkg 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. As a result replaced PcdSet32
with PcdSet32S accordingly to make the build pass.
[BuildOptions]
*_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
Cc: Prince Agyeman <prince.agyeman@intel.com>
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=163
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Maurice Ma <maurice.ma@intel.com>
Reviewed-by: Prince Agyeman <prince.agyeman@intel.com>
Diffstat (limited to 'CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc')
-rw-r--r-- | CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc b/CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc index 7a4ee2b..83b1f9a 100644 --- a/CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc +++ b/CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc @@ -83,6 +83,7 @@ DEFINE SHELL_TYPE = FULL_BIN
[BuildOptions]
+ *_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES
GCC:*_UNIXGCC_*_CC_FLAGS = -DMDEPKG_NDEBUG
GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
|