diff options
author | Maurice Ma <maurice.ma@intel.com> | 2016-11-08 15:54:24 -0800 |
---|---|---|
committer | Maurice Ma <maurice.ma@intel.com> | 2016-11-09 11:41:31 -0800 |
commit | faabc5d49700a5042535ff30a07e2c9577ed3cd8 (patch) | |
tree | 74b854ae430a16a69422a24627df1a8866a669ad /CorebootPayloadPkg | |
parent | c3c9892c3b4dafd1d0ccdc8e5e017d80e8c4361e (diff) | |
download | edk2-platforms-faabc5d49700a5042535ff30a07e2c9577ed3cd8.tar.xz |
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>
Diffstat (limited to 'CorebootPayloadPkg')
-rw-r--r-- | CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc | 2 | ||||
-rw-r--r-- | CorebootPayloadPkg/CorebootPayloadPkgIa32X64.dsc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc b/CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc index ad1a6dcf60..d4b3f71157 100644 --- a/CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc +++ b/CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc @@ -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
diff --git a/CorebootPayloadPkg/CorebootPayloadPkgIa32X64.dsc b/CorebootPayloadPkg/CorebootPayloadPkgIa32X64.dsc index c06cccbf88..1e9bae9fb1 100644 --- a/CorebootPayloadPkg/CorebootPayloadPkgIa32X64.dsc +++ b/CorebootPayloadPkg/CorebootPayloadPkgIa32X64.dsc @@ -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
|