diff mbox series

[3/6] compiler-rt: Always build c runtime (crt) files

Message ID 20251107230617.364804-3-raj.khem@gmail.com
State New
Headers show
Series [1/6] clang: Fix libgcc.so.1.0 symlink to point to libunwind.so.1 | expand

Commit Message

Khem Raj Nov. 7, 2025, 11:06 p.m. UTC
Makes llvm runtime provide another step towards providing
platform C/C++ runtime

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-devtools/clang/compiler-rt_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta/recipes-devtools/clang/compiler-rt_git.bb b/meta/recipes-devtools/clang/compiler-rt_git.bb
index f42f17e9ba6..b849b64515a 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