folks: Disable LTO and implicit-function-declaration as error

This helps in compiling with clang15

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj 2022-08-30 14:25:11 -07:00
parent aef6556299
commit 0ef6f75f4f

View File

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