diff mbox series

[meta-gnome,3/4] folks: Disable LTO and implicit-function-declaration as error

Message ID 20220830213707.1413842-3-raj.khem@gmail.com
State New
Headers show
Series None | expand

Commit Message

Khem Raj Aug. 30, 2022, 9:37 p.m. UTC
This helps in compiling with clang15

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta-gnome/recipes-connectivity/folks/folks_0.15.5.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox series

Patch

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 = ""