From 9e45d712f2b9a9df0402889af501e5a3a1851220 Mon Sep 17 00:00:00 2001 From: Markus Volk Date: Tue, 9 Jun 2026 17:07:28 +0200 Subject: [PATCH] gd: disable maybe-uninitialized error This fixes build with gcc16 until a suitable solution is found: https://github.com/libgd/libgd/issues/990 Signed-off-by: Markus Volk Signed-off-by: Khem Raj --- meta-oe/recipes-support/gd/gd_2.3.3.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-oe/recipes-support/gd/gd_2.3.3.bb b/meta-oe/recipes-support/gd/gd_2.3.3.bb index 062c4b4a8f..884a2b54ac 100644 --- a/meta-oe/recipes-support/gd/gd_2.3.3.bb +++ b/meta-oe/recipes-support/gd/gd_2.3.3.bb @@ -43,6 +43,8 @@ EXTRA_OECONF += "--disable-rpath" EXTRA_OEMAKE = 'LDFLAGS="${LDFLAGS}"' +CFLAGS += "-Wno-error=maybe-uninitialized" + DEBUG_OPTIMIZATION:append = " -Wno-error=maybe-uninitialized" do_install:append:class-target() {