OVMF: Define MDEPKG_NDEBUG to disable all debug code by default

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9673 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
jljusten 2010-01-04 16:18:02 +00:00
parent c1c2669c6b
commit 0bc7e56da9
3 changed files with 15 additions and 0 deletions

View File

@ -29,6 +29,11 @@
SKUID_IDENTIFIER = DEFAULT
FLASH_DEFINITION = OvmfPkg/OvmfPkg.fdf
[BuildOptions]
GCC:*_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
INTEL:*_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
MSFT:*_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
################################################################################
#
# SKU Identification section - list of all SKU IDs supported by this Platform.

View File

@ -29,6 +29,11 @@
SKUID_IDENTIFIER = DEFAULT
FLASH_DEFINITION = OvmfPkg/OvmfPkgIa32X64.fdf
[BuildOptions]
GCC:*_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
INTEL:*_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
MSFT:*_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
################################################################################
#
# SKU Identification section - list of all SKU IDs supported by this Platform.

View File

@ -29,6 +29,11 @@
SKUID_IDENTIFIER = DEFAULT
FLASH_DEFINITION = OvmfPkg/OvmfPkg.fdf
[BuildOptions]
GCC:*_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
INTEL:*_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
MSFT:*_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
################################################################################
#
# SKU Identification section - list of all SKU IDs supported by this Platform.