mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-26 19:47:17 +00:00
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:
@@ -8,8 +8,9 @@ DEPENDS = " \
|
|||||||
"
|
"
|
||||||
|
|
||||||
GNOMEBASEBUILDCLASS = "meson"
|
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
|
# gobject-introspection is mandatory and cannot be configured
|
||||||
REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"
|
REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"
|
||||||
GIR_MESON_OPTION = ""
|
GIR_MESON_OPTION = ""
|
||||||
|
|||||||
Reference in New Issue
Block a user