From 2aba75076f9081b452c70d399261b7970847631c Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sun, 26 Oct 2025 23:14:22 -0700 Subject: [PATCH] compiler-rt: Always build c runtime (crt) files Makes llvm runtime provide another step towards providing platform C/C++ runtime Signed-off-by: Khem Raj --- meta/recipes-devtools/clang/compiler-rt_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/clang/compiler-rt_git.bb b/meta/recipes-devtools/clang/compiler-rt_git.bb index f42f17e9ba..b849b64515 100644 --- a/meta/recipes-devtools/clang/compiler-rt_git.bb +++ b/meta/recipes-devtools/clang/compiler-rt_git.bb @@ -41,7 +41,7 @@ UNWINDLIB:class-target = "--unwindlib=libgcc" COMPILER_RT:class-target = "-rtlib=libgcc" LIBCPLUSPLUS:class-target = "-stdlib=libstdc++" -PACKAGECONFIG ??= "" +PACKAGECONFIG ??= "crt" PACKAGECONFIG[crt] = "-DCOMPILER_RT_BUILD_CRT:BOOL=ON,-DCOMPILER_RT_BUILD_CRT:BOOL=OFF" PACKAGECONFIG[profile] = "-DCOMPILER_RT_BUILD_PROFILE=ON,-DCOMPILER_RT_BUILD_PROFILE=OFF" # Context Profiling, might need to enable 'profile' too -- 2.47.3