mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
libical: Pass TOOLCHAIN_OPTIONS via CFLAGS
This ensures that right sysroot is used during build, otherwise we see warnings in build about using wrong sysroot and it fails explicitly with clang x86_64-yoe-linux-ld: warning: library search path "/usr/lib/gcc/x86_6 4-pc-linux-gnu/11.2.0/../../../../lib64" is unsafe for cross-compilation x86_64-yoe-linux-ld: cannot find /usr/lib/clang/14.0.0/lib/linux/libc lang_rt.builtins-x86_64.a: No such file or directory (From OE-Core rev: feb8893e0f52c7ab2d5efd456901a2bb91839d44) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -18,6 +18,8 @@ UPSTREAM_CHECK_URI = "https://github.com/libical/libical/releases"
|
||||
|
||||
inherit cmake pkgconfig gobject-introspection vala
|
||||
|
||||
CFLAGS += "${TOOLCHAIN_OPTIONS}"
|
||||
|
||||
DEPENDS += "libical-native"
|
||||
|
||||
PACKAGECONFIG ??= "icu glib"
|
||||
|
||||
Reference in New Issue
Block a user