OVMF: Only enable MDEPKG_NDEBUG for RELEASE builds

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10929 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
jljusten
2010-10-13 07:07:42 +00:00
parent 55cdb67acb
commit 152d9a6b07
3 changed files with 19 additions and 19 deletions

View File

@@ -30,9 +30,9 @@
FLASH_DEFINITION = OvmfPkg/OvmfPkgX64.fdf
[BuildOptions]
GCC:*_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
INTEL:*_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
MSFT:*_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
################################################################################
#
@@ -93,10 +93,10 @@
PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
!endif
ResetSystemLib|PcAtChipsetPkg/Library/ResetSystemLib/ResetSystemLib.inf
LocalApicLib|UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf
[LibraryClasses.common.SEC]
DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
@@ -381,4 +381,4 @@
MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
!endif