All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joseph Burt <caseorum@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] package/qemu: disable NDEBUG
Date: Thu, 24 Jun 2021 14:10:23 +0000	[thread overview]
Message-ID: <20210624141023.61171-1-caseorum@gmail.com> (raw)

QEMU cannot build with NDEBUG defined.

Signed-off-by: Joseph Burt <caseorum@gmail.com>
---
 package/qemu/qemu.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/qemu/qemu.mk b/package/qemu/qemu.mk
index 470c285f16..c397b8883b 100644
--- a/package/qemu/qemu.mk
+++ b/package/qemu/qemu.mk
@@ -160,7 +160,7 @@ define QEMU_CONFIGURE_CMDS
 	unset TARGET_DIR; \
 	cd $(@D); \
 		LIBS='$(QEMU_LIBS)' \
-		$(TARGET_CONFIGURE_OPTS) \
+		$(filter-out -DNDEBUG,$(TARGET_CONFIGURE_OPTS)) \
 		$(TARGET_CONFIGURE_ARGS) \
 		CPP="$(TARGET_CC) -E" \
 		$(QEMU_VARS) \
@@ -327,7 +327,7 @@ endif
 # call the compiler.
 define HOST_QEMU_CONFIGURE_CMDS
 	unset TARGET_DIR; \
-	cd $(@D); $(HOST_CONFIGURE_OPTS) CPP="$(HOSTCC) -E" \
+	cd $(@D); $(filter-out -DNDEBUG,$(HOST_CONFIGURE_OPTS)) CPP="$(HOSTCC) -E" \
 		./configure \
 		--target-list="$(HOST_QEMU_TARGETS)" \
 		--prefix="$(HOST_DIR)" \
-- 
2.32.0

             reply	other threads:[~2021-06-24 14:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-24 14:10 Joseph Burt [this message]
2021-07-04 19:54 ` [Buildroot] [PATCH 1/1] package/qemu: disable NDEBUG Yann E. MORIN

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-all 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=20210624141023.61171-1-caseorum@gmail.com \
    --to=caseorum@gmail.com \
    --cc=buildroot@busybox.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.