From: "Sami Mujawar" <sami.mujawar@arm.com>
To: <devel@edk2.groups.io>
Cc: Sami Mujawar <sami.mujawar@arm.com>, <Alexei.Fedorov@arm.com>,
<Matteo.Carlini@arm.com>, <nd@arm.com>
Subject: [PATCH v1 2/2] DynamicTablesPkg: Update release build flags
Date: Fri, 7 Aug 2020 16:13:23 +0100 [thread overview]
Message-ID: <20200807151323.47648-3-sami.mujawar@arm.com> (raw)
In-Reply-To: <20200807151323.47648-1-sami.mujawar@arm.com>
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>
---
DynamicTablesPkg/DynamicTables.dsc.inc | 1 +
1 file changed, 1 insertion(+)
diff --git a/DynamicTablesPkg/DynamicTables.dsc.inc b/DynamicTablesPkg/DynamicTables.dsc.inc
index d15b74884f0b618e427ac8c6804c50b4746ea602..df64e1dc4cd7ce0b68037ef544fbde1c435e43e3 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
--
'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)'
next prev parent reply other threads:[~2020-08-07 15:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-07 15:13 [PATCH v1 0/2] DynamicTablesPkg: Build option updates Sami Mujawar
2020-08-07 15:13 ` [PATCH v1 1/2] DynamicTablesPkg: Update ASL build options Sami Mujawar
2020-08-07 15:22 ` [edk2-devel] " Alexei Fedorov
2020-08-07 15:13 ` Sami Mujawar [this message]
2020-08-07 15:25 ` [edk2-devel] [PATCH v1 2/2] DynamicTablesPkg: Update release build flags Alexei Fedorov
2020-08-07 15:21 ` [edk2-devel] [PATCH v1 0/2] DynamicTablesPkg: Build option updates Alexei Fedorov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200807151323.47648-3-sami.mujawar@arm.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox