summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--OvmfPkg/OvmfPkgIa32.dsc5
-rw-r--r--OvmfPkg/OvmfPkgIa32X64.dsc5
-rw-r--r--OvmfPkg/OvmfPkgX64.dsc5
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.