diff options
| author | Tanguy Raufflet <tanguy.raufflet@savoirfairelinux.com> | 2026-04-13 13:52:39 +0200 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2026-04-13 13:50:39 +0000 |
| commit | d57c511ccf8d478f86b2d5f04bde5a3f69ea46f2 (patch) | |
| tree | 2d03b6198bec364cc063509f1f468cc85e15fde9 /scripts | |
| parent | 4e6c583591c1da7e898254dd33eca5cc04c739a9 (diff) | |
| download | meta-virtualization-d57c511ccf8d478f86b2d5f04bde5a3f69ea46f2.tar.gz | |
libvirt-dbus: disable -Werror=inline to fix build error
The meson.build from libvirt-dbus enables the flag -Winline. Combined
with -Werror from Yocto, this causes a build failure because GCC refuses
to inline g_autoptr_cleanup_generic_gfree() from the glib header
glib-autocleanups.h, as it considers the call unlikely and estimates
code size would grow.
Because the function g_autoptr_cleanup_generic_gfree is defined as
static inline with good reason, this patch disables -Werror=inline for
libvirt-dbus to allow the build to succeed.
Signed-off-by: Tanguy Raufflet <tanguy.raufflet@savoirfairelinux.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
