We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a370b66 commit a7ee15eCopy full SHA for a7ee15e
build.roc
@@ -52,7 +52,7 @@ buildDotA = \target ->
52
WindowsX64 -> ("windows", "amd64", "x86_64-windows", "windows-x64.obj")
53
Stdout.line! "build host for $(Inspect.toStr target)"
54
Cmd.new "go"
55
- |> Cmd.envs [("GOOS", goos), ("GOARCH", goarch), ("CC", "zcc $(zigTarget)"), ("CGO_ENABLED", "1")]
+ |> Cmd.envs [("GOOS", goos), ("GOARCH", goarch), ("CC", "zig cc -target $(zigTarget)"), ("CGO_ENABLED", "1")]
56
|> Cmd.args ("build -C host -buildmode c-archive -o ../platform/$(prebuiltBinary) -tags legacy,netgo" |> Str.split " ")
57
|> Cmd.status
58
|> Task.mapErr! \err -> BuildErr target (Inspect.toStr err)
0 commit comments