[Buildroot] [PATCH 1/1] package/qemu: disable NDEBUG
Yann E. MORIN
yann.morin.1998 at free.fr
Sun Jul 4 19:54:45 UTC 2021
Joseph, All,
On 2021-06-24 14:10 +0000, Joseph Burt spake thusly:
> QEMU cannot build with NDEBUG defined.
>
> Signed-off-by: Joseph Burt <caseorum at gmail.com>
We are now no longer setting NDEBUG in the infra; see a1c7cff1a081.
So this patch is no longer needed; I've marked it as rejected.
Thanks!
Regards,
Yann E. MORIN.
> ---
> 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
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
More information about the buildroot
mailing list