From 2ecf7ab4694edb0bdb60b3d2059ff3e3416cddc5 Mon Sep 17 00:00:00 2001 From: Dmitry Baryshkov Date: Thu, 10 Apr 2025 05:54:44 +0300 Subject: [PATCH] llvm: also use llvm-config wrapper for nativesdk recipes The recipes targeting the SDK (e.g. nativesdk-mesa) should also use the llvm-config wrapper, otherwise they get get a lot of incorrect flags, the most offensive being the rpath, as it results in TMPDIR being a part of the resulting binary. (From OE-Core rev: 4d4b02d28c8c5807c2a90402c1239ed2581eb884) Signed-off-by: Dmitry Baryshkov Signed-off-by: Richard Purdie --- meta/recipes-devtools/llvm/llvm_20.1.2.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-devtools/llvm/llvm_20.1.2.bb b/meta/recipes-devtools/llvm/llvm_20.1.2.bb index c9cb466c57..0fb35a4f5b 100644 --- a/meta/recipes-devtools/llvm/llvm_20.1.2.bb +++ b/meta/recipes-devtools/llvm/llvm_20.1.2.bb @@ -138,6 +138,7 @@ do_install:append:class-native() { } SYSROOT_PREPROCESS_FUNCS:append:class-target = " llvm_sysroot_preprocess" +SYSROOT_PREPROCESS_FUNCS:append:class-nativesdk = " llvm_sysroot_preprocess" llvm_sysroot_preprocess() { install -d ${SYSROOT_DESTDIR}${bindir_crossscripts}/