From af818ff249058586a8226185f9d26f22ba0d0297 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 17 Oct 2026 23:34:41 -0700 Subject: [PATCH] luajit: Set TARGET_SYS to Linux for musl targets TARGET_OS is linux-musl on musl, which matched none of the LUA_TARGET_OS overrides, so TARGET_SYS was Unknown and LuaJIT was built for LUAJIT_OS_OTHER, losing Linux-specific features such as the profiler (LJ_HASPROFILE). AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- meta-oe/recipes-devtools/luajit/luajit_git.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-oe/recipes-devtools/luajit/luajit_git.bb b/meta-oe/recipes-devtools/luajit/luajit_git.bb index 707cea5766..a929d832e4 100644 --- a/meta-oe/recipes-devtools/luajit/luajit_git.bb +++ b/meta-oe/recipes-devtools/luajit/luajit_git.bb @@ -44,6 +44,7 @@ LUA_TARGET_OS = "Unknown" LUA_TARGET_OS:darwin = "Darwin" LUA_TARGET_OS:linux = "Linux" LUA_TARGET_OS:linux-gnueabi = "Linux" +LUA_TARGET_OS:linux-musl = "Linux" LUA_TARGET_OS:mingw32 = "Windows" # We don't want the lua buildsystem's compiler optimizations, or its