summaryrefslogtreecommitdiffstats
path: root/CorebootPayloadPkg
diff options
context:
space:
mode:
authorMaurice Ma <maurice.ma@intel.com>2017-01-09 19:31:29 -0800
committerMaurice Ma <maurice.ma@intel.com>2017-01-10 15:45:09 -0800
commit1b3d5b0699cf6222698ed8373026813b61e87637 (patch)
tree671d59d53b769021b62ecffb418d4d507ac0a401 /CorebootPayloadPkg
parenta8675a19e3b110b9daad1ec70857ba53ccfa9af6 (diff)
downloadedk2-1b3d5b0699cf6222698ed8373026813b61e87637.tar.gz
edk2-1b3d5b0699cf6222698ed8373026813b61e87637.tar.bz2
edk2-1b3d5b0699cf6222698ed8373026813b61e87637.zip
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.dsc2
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