diff options
author | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-01-04 16:18:02 +0000 |
---|---|---|
committer | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-01-04 16:18:02 +0000 |
commit | 0bc7e56da90d983662505230f7fab3ad244c116d (patch) | |
tree | a4e6221bf208ace259c25c746b4f324bef088a78 /OvmfPkg | |
parent | c1c2669c6bb3ed4e23c06a93e60450a4fc3eccf2 (diff) | |
download | edk2-platforms-0bc7e56da90d983662505230f7fab3ad244c116d.tar.xz |
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
Diffstat (limited to 'OvmfPkg')
-rw-r--r-- | OvmfPkg/OvmfPkgIa32.dsc | 5 | ||||
-rw-r--r-- | OvmfPkg/OvmfPkgIa32X64.dsc | 5 | ||||
-rw-r--r-- | OvmfPkg/OvmfPkgX64.dsc | 5 |
3 files changed, 15 insertions, 0 deletions
diff --git a/OvmfPkg/OvmfPkgIa32.dsc b/OvmfPkg/OvmfPkgIa32.dsc index 11e1f98f1a..ba7ba49d82 100644 --- a/OvmfPkg/OvmfPkgIa32.dsc +++ b/OvmfPkg/OvmfPkgIa32.dsc @@ -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.
diff --git a/OvmfPkg/OvmfPkgIa32X64.dsc b/OvmfPkg/OvmfPkgIa32X64.dsc index 55fc6ce0b0..a96064ed5d 100644 --- a/OvmfPkg/OvmfPkgIa32X64.dsc +++ b/OvmfPkg/OvmfPkgIa32X64.dsc @@ -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.
diff --git a/OvmfPkg/OvmfPkgX64.dsc b/OvmfPkg/OvmfPkgX64.dsc index 4d82980fe2..b0defc3d80 100644 --- a/OvmfPkg/OvmfPkgX64.dsc +++ b/OvmfPkg/OvmfPkgX64.dsc @@ -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.
|