From: Khem Raj Date: Fri, 7 Nov 2025 23:06:14 +0000 (-0800) Subject: compiler-rt: Always build c runtime (crt) files X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=56fe42abe21eb5a5f809abb9893d8f33dac8bc12;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git 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 Signed-off-by: Mathieu Dubois-Briand --- 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