Re: [RFC PATCH] contrib/plugins: enable debug on CONFIG_DEBUG_TCG

2022-10-23 Thread Philippe Mathieu-Daudé
On 21/10/22 17:51, Alex Bennée wrote: We used to rely on QEMU_CFLAGS to expose the debug flags but now this is synthesised by meson and only available to the main build. Add our own flags if we detect the build has been enabled with CONFIG_DEBUG_TCG (which is the default for --enable-debug anyway

[RFC PATCH] contrib/plugins: enable debug on CONFIG_DEBUG_TCG

2022-10-21 Thread Alex Bennée
We used to rely on QEMU_CFLAGS to expose the debug flags but now this is synthesised by meson and only available to the main build. Add our own flags if we detect the build has been enabled with CONFIG_DEBUG_TCG (which is the default for --enable-debug anyway). Signed-off-by: Alex Bennée Cc: Paol