Skip to content

Commit a7ee15e

Browse files
committed
Fix build script
1 parent a370b66 commit a7ee15e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.roc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ buildDotA = \target ->
5252
WindowsX64 -> ("windows", "amd64", "x86_64-windows", "windows-x64.obj")
5353
Stdout.line! "build host for $(Inspect.toStr target)"
5454
Cmd.new "go"
55-
|> Cmd.envs [("GOOS", goos), ("GOARCH", goarch), ("CC", "zcc $(zigTarget)"), ("CGO_ENABLED", "1")]
55+
|> Cmd.envs [("GOOS", goos), ("GOARCH", goarch), ("CC", "zig cc -target $(zigTarget)"), ("CGO_ENABLED", "1")]
5656
|> Cmd.args ("build -C host -buildmode c-archive -o ../platform/$(prebuiltBinary) -tags legacy,netgo" |> Str.split " ")
5757
|> Cmd.status
5858
|> Task.mapErr! \err -> BuildErr target (Inspect.toStr err)

0 commit comments

Comments
 (0)