internal/rosa/llvm: separate major version

For pathname formatting at compile time.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-03-05 22:59:51 +09:00
parent fcdf9ecee4
commit 9c9befb4c9
2 changed files with 8 additions and 5 deletions

View File

@@ -329,7 +329,7 @@ mkdir -vp /work/system/bin
"AR=ar",
"RANLIB=ranlib",
"LIBCC=/system/lib/clang/21/lib/" + triplet() +
"LIBCC=/system/lib/clang/" + llvmVersionMajor + "/lib/" + triplet() +
"/libclang_rt.builtins.a",
}, "/system/bin", "/bin")