diff options
author | Nicolas Saenz Julienne <nsaenz@amazon.com> | 2023-05-24 17:31:23 +0000 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2023-05-25 10:02:37 +0200 |
commit | f49d883d4de4011365ca3644fcd1914df5193227 (patch) | |
tree | 0f54ae8714e3882130dfc30a8d2e21e08cede660 /qga/meson.build | |
parent | fb00aa61267c8b9c57a2d1a1fa1e336d02e3bcd1 (diff) |
meson.build: Fix glib -Wno-unused-function workaround
We want to only enable '-Wno-unused-function' if glib's version is
smaller than '2.57.2' and has a G_DEFINE_AUTOPTR_CLEANUP_FUNC()
implementation that doesn't take into account unused functions. But the
compilation test isn't working as intended as '-Wunused-function' isn't
enabled while running it.
Let's enable it.
Fixes: fc9a809e0d28 ("build: move glib detection and workarounds to meson")
Signed-off-by: Nicolas Saenz Julienne <nsaenz@amazon.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230524173123.66483-1-nsaenz@amazon.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'qga/meson.build')
0 files changed, 0 insertions, 0 deletions