From 14132666fa50daab2dafe5f17fecc105e06db424 Mon Sep 17 00:00:00 2001 From: Sami Mujawar Date: Mon, 27 Jul 2020 12:50:49 +0100 Subject: [PATCH] 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 Reviewed-by: Alexei Fedorov --- DynamicTablesPkg/DynamicTables.dsc.inc | 1 + 1 file changed, 1 insertion(+) 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 -- 2.39.2