aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/mbf/main.go8
1 files changed, 5 insertions, 3 deletions
diff --git a/cmd/mbf/main.go b/cmd/mbf/main.go
index 017f45c5..0b6cff82 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),