mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-15 06:45:32 +01: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:
parent
aef6556299
commit
0ef6f75f4f
|
|
@ -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 = ""
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user