diff --git a/cmd/mbf/main.go b/cmd/mbf/main.go index 017f45c..0b6cff8 100644 --- a/cmd/mbf/main.go +++ b/cmd/mbf/main.go @@ -270,10 +270,12 @@ func main() { root = append(root, rosa.Std.Load(p)) } - musl, compilerRT, runtimes, clang := rosa.Std.NewLLVM() - root = append(root, musl) if flagWithToolchain { - root = append(root, compilerRT, runtimes, clang) + musl, compilerRT, runtimes, clang := rosa.Std.NewLLVM() + root = append(root, musl, compilerRT, runtimes, clang) + } else { + musl, _, _, _ := (rosa.Std - 1).NewLLVM() + root = append(root, musl) } root = append(root, rosa.Std.Load(rosa.Mksh),