diff options
author | Sami Mujawar <sami.mujawar@arm.com> | 2020-07-27 12:50:49 +0100 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2020-08-07 17:25:13 +0000 |
commit | 14132666fa50daab2dafe5f17fecc105e06db424 (patch) | |
tree | ddf16da94ed9f913598557daa0bdc031bd3207ec /DynamicTablesPkg | |
parent | b88d95bb5b5e363fa5f72f1198f57f8a251d12b6 (diff) | |
download | edk2-14132666fa50daab2dafe5f17fecc105e06db424.tar.gz |
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>
Diffstat (limited to 'DynamicTablesPkg')
-rw-r--r-- | DynamicTablesPkg/DynamicTables.dsc.inc | 1 |
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
|