From e281b5fc707e8e0d79be1b9ec9abd0321d1baf8b Mon Sep 17 00:00:00 2001 From: daanx Date: Wed, 14 Feb 2024 19:47:23 -0800 Subject: [PATCH] build with CL with -j1 to avoid linker errors --- util/bundle.kk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/bundle.kk b/util/bundle.kk index b4557675b..5884e38fb 100644 --- a/util/bundle.kk +++ b/util/bundle.kk @@ -322,7 +322,7 @@ fun build-libraries(cc : string, usecl : bool, variant : variant, version : stri if !install && usecl then // also generate cl binaries on windows val cloutputdir = get-output-dir("cl", variant, version) - val clcmd = [koka-run, "--cc=cl", "--outputdir=" ++ cloutputdir.show, extra, prog].join(" ") + val clcmd = [koka-run, "--cc=cl", "-j1", "--outputdir=" ++ cloutputdir.show, extra, prog].join(" ") println("> " ++ clcmd) run-system( clcmd ) ()