internal/rosa/llvm: early-runtimes for gentoo stage only

This bootstrap step is not required for a native Rosa OS stage0 distribution.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
cat
2026-08-25 15:26:35 +09:00
parent 18ba73c957
commit ce53fa9249
3 changed files with 7 additions and 2 deletions
+1 -1
View File
@@ -64,7 +64,7 @@ func init() {
meta.Version = _meta.Version
early := _muslHeaders
if t.stage.isStage0() {
if t.stage.isStage0() && !t.stage.isRosa() {
// The LLVM build system uses the system installation when building with
// LLVM_LINK_LLVM_DYLIB, since it builds runtimes after the fact, using
// the just-built toolchain. This is unacceptable in stage0 due to the