]> git.proxmox.com Git - mirror_edk2.git/commitdiff
DynamicTablesPkg: Update release build flags
authorSami Mujawar <sami.mujawar@arm.com>
Mon, 27 Jul 2020 11:50:49 +0000 (12:50 +0100)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Fri, 7 Aug 2020 17:25:13 +0000 (17:25 +0000)
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>
DynamicTablesPkg/DynamicTables.dsc.inc

index 0f5ebace552e2c301f8eef5b65daab7355db8499..bc03c09d6c0ebb2c6b1458d27e0bde00224e55cd 100644 (file)
@@ -10,6 +10,7 @@
 [Defines]\r
 \r
 [BuildOptions]\r
+  RELEASE_*_*_CC_FLAGS     = -DMDEPKG_NDEBUG\r
 \r
 [LibraryClasses.common]\r
   TableHelperLib|DynamicTablesPkg/Library/Common/TableHelperLib/TableHelperLib.inf\r