Skip to content

Commit

Permalink
internal/build: yolo until it works?
Browse files Browse the repository at this point in the history
  • Loading branch information
karalabe committed May 9, 2023
1 parent 8170d10 commit 4005f78
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build/ci.go
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ func doInstall(cmdline []string) {
}
// Disable CLI markdown doc generation in release builds and enable linking
// the CKZG library since we can make it portable here.
buildTags := []string{"urfave_cli_no_docs", "ckgz"}
buildTags := []string{"urfave_cli_no_docs", "ckzg"}

// Configure the build.
env := build.Env()
Expand Down
2 changes: 1 addition & 1 deletion internal/build/gotool.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func (g *GoToolchain) Go(command string, args ...string) *exec.Cmd {
}
// CKZG by default is not portable, append the necessary build flags to make
// it not rely on modern CPU instructions and enable linking against
tool.Env = append(tool.Env, "CGO_FLAGS=\"-O -D__BLST_PORTABLE__\"")
tool.Env = append(tool.Env, "CGO_CFLAGS=-D__BLST_PORTABLE__")

return tool
}
Expand Down

0 comments on commit 4005f78

Please sign in to comment.