CorebootPayloadPkg: Fix GCC build issue on macro definition

The previous change to disable deprecated APIs in CorebootPayloadPkg
used "/D" instead of "-D".  It caused Linux GCC build error. Correct
it to use "-D" instead.

Cc: Prince Agyeman <prince.agyeman@intel.com>
Cc: Rusty Coleman <rcoleman@sigovs.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Maurice Ma <maurice.ma@intel.com>
Reviewed-by: Prince Agyeman <prince.agyeman@intel.com>
Reviewed-by: Rusty Coleman <rcoleman@sigovs.com>
This commit is contained in:
Maurice Ma 2016-11-08 15:54:24 -08:00
parent c3c9892c3b
commit faabc5d497
2 changed files with 2 additions and 2 deletions

View File

@ -88,7 +88,7 @@
DEFINE SHELL_TYPE = FULL_BIN
[BuildOptions]
*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES
*_*_*_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

View File

@ -88,7 +88,7 @@
DEFINE SHELL_TYPE = FULL_BIN
[BuildOptions]
*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES
*_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
GCC:DEBUG_*_*_CC_FLAGS = -Og -flto
GCC:DEBUG_*_*_DLINK_FLAGS = -flto
GCC:*_UNIXGCC_*_CC_FLAGS = -DMDEPKG_NDEBUG