summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSami Mujawar <sami.mujawar@arm.com>2020-07-27 12:50:49 +0100
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-08-07 17:25:13 +0000
commit14132666fa50daab2dafe5f17fecc105e06db424 (patch)
treeddf16da94ed9f913598557daa0bdc031bd3207ec
parentb88d95bb5b5e363fa5f72f1198f57f8a251d12b6 (diff)
downloadedk2-14132666fa50daab2dafe5f17fecc105e06db424.tar.gz
edk2-14132666fa50daab2dafe5f17fecc105e06db424.tar.bz2
edk2-14132666fa50daab2dafe5f17fecc105e06db424.zip
DynamicTablesPkg: Update release build flags
If MDEPKG_NDEBUG is defined, then debug and assert related macros wrapped by it are mapped to NULL implementations. Therefore, add MDEPKG_NDEBUG flags for release builds of DynamicTablesPkg. Signed-off-by: Sami Mujawar <sami.mujawar@arm.com> Reviewed-by: Alexei Fedorov <Alexei.Fedorov@arm.com>
-rw-r--r--DynamicTablesPkg/DynamicTables.dsc.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/DynamicTablesPkg/DynamicTables.dsc.inc b/DynamicTablesPkg/DynamicTables.dsc.inc
index 0f5ebace55..bc03c09d6c 100644
--- a/DynamicTablesPkg/DynamicTables.dsc.inc
+++ b/DynamicTablesPkg/DynamicTables.dsc.inc
@@ -10,6 +10,7 @@
[Defines]
[BuildOptions]
+ RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
[LibraryClasses.common]
TableHelperLib|DynamicTablesPkg/Library/Common/TableHelperLib/TableHelperLib.inf