diff options
author | Maurice Ma <maurice.ma@intel.com> | 2017-01-09 19:31:29 -0800 |
---|---|---|
committer | Maurice Ma <maurice.ma@intel.com> | 2017-01-10 15:45:09 -0800 |
commit | 1b3d5b0699cf6222698ed8373026813b61e87637 (patch) | |
tree | 671d59d53b769021b62ecffb418d4d507ac0a401 /CorebootPayloadPkg | |
parent | a8675a19e3b110b9daad1ec70857ba53ccfa9af6 (diff) | |
download | edk2-platforms-1b3d5b0699cf6222698ed8373026813b61e87637.tar.xz |
CorebootPayloadPkg: Remove improper build flags in DSC file
Current CorebootPayloadPkgIa32X64.dsc contains "-flto" flag to
request GCC link time optimization. However, this feature is
only supported by newer GCC compiler, and it will break the
debug build with GCC4.8. To fix it, the extra compiling flags
are removed. It allows the default build flags set by the EDKII
build environment to be used.
With this fix, CorebootPayloadPkg 64bit debug build can pass
using GCC 4.8.
Cc: Prince Agyeman <prince.agyeman@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Maurice Ma <maurice.ma@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'CorebootPayloadPkg')
-rw-r--r-- | CorebootPayloadPkg/CorebootPayloadPkgIa32X64.dsc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/CorebootPayloadPkg/CorebootPayloadPkgIa32X64.dsc b/CorebootPayloadPkg/CorebootPayloadPkgIa32X64.dsc index c35f261d67..6b16af63ba 100644 --- a/CorebootPayloadPkg/CorebootPayloadPkgIa32X64.dsc +++ b/CorebootPayloadPkg/CorebootPayloadPkgIa32X64.dsc @@ -89,8 +89,6 @@ [BuildOptions]
*_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
- GCC:DEBUG_*_*_CC_FLAGS = -Og -flto
- GCC:DEBUG_*_*_DLINK_FLAGS = -flto
GCC:*_UNIXGCC_*_CC_FLAGS = -DMDEPKG_NDEBUG
GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
|