From 0ef6f75f4fe239ab280ff616097d416335cc9f09 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 30 Aug 2022 14:25:11 -0700 Subject: [PATCH] folks: Disable LTO and implicit-function-declaration as error This helps in compiling with clang15 Signed-off-by: Khem Raj --- meta-gnome/recipes-connectivity/folks/folks_0.15.5.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta-gnome/recipes-connectivity/folks/folks_0.15.5.bb b/meta-gnome/recipes-connectivity/folks/folks_0.15.5.bb index 51620bba8e..ad61ee610c 100644 --- a/meta-gnome/recipes-connectivity/folks/folks_0.15.5.bb +++ b/meta-gnome/recipes-connectivity/folks/folks_0.15.5.bb @@ -8,8 +8,9 @@ DEPENDS = " \ " GNOMEBASEBUILDCLASS = "meson" -EXTRA_OEMESON += "-Dtests=false" +EXTRA_OEMESON += "-Dtests=false -Db_lto=false " +CFLAGS:append:toolchain-clang = " -Wno-error=implicit-function-declaration" # gobject-introspection is mandatory and cannot be configured REQUIRED_DISTRO_FEATURES = "gobject-introspection-data" GIR_MESON_OPTION = ""